interface MessagePostProcessor
To be used with JmsTemplate's send method that convert an object to a message. It allows for further modification of the message after it has been processed by the converter. This is useful for setting of JMS Header and Properties.
This often as an anonymous class within a method implementation.
Author
Mark Pollack
Since
1.1
See Also
JmsTemplate#convertAndSend(String, Object, MessagePostProcessor)JmsTemplate#convertAndSend(javax.jms.Destination, Object, MessagePostProcessor)org.springframework.jms.support.converter.MessageConverter
abstract fun postProcessMessage(message: Message): Message
Apply a MessagePostProcessor to the message. The returned message is typically a modified version of the original. |