This allows for further modification of the message after it has been processed by the converter and is useful for setting JMS headers and properties.
Often implemented as a lambda expression or as an anonymous inner class.
JmsTemplate#convertAndSend(String, Object, MessagePostProcessor), JmsTemplate#convertAndSend(jakarta.jms.Destination, Object, MessagePostProcessor) , org.springframework.jms.support.converter.MessageConverter
| Modifier and Type | Method and Description |
|---|---|
| public Message | Returns: a post-processed variant of the message, or simply the incoming message; nevernullthe JMS message from the MessageConverter message)Process the given message. |
| postProcessMessage | back to summary |
|---|---|
| public Message postProcessMessage(Message message) throws JMSException Process the given message. The returned message is typically a modified version of the original.
| |