|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public 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.
JmsTemplate.convertAndSend(String, Object, MessagePostProcessor)
,
JmsTemplate.convertAndSend(javax.jms.Destination, Object, MessagePostProcessor)
,
MessageConverter
Method Summary | |
---|---|
Message |
postProcessMessage(Message message)
Apply a MessagePostProcessor to the message. |
Method Detail |
---|
Message postProcessMessage(Message message) throws JMSException
message
- the JMS message from the MessageConverter
JMSException
- if thrown by JMS API methods
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |