org.apache.camel.component.jms
Class InOnlyMessageSentCallback
java.lang.Object
org.apache.camel.component.jms.InOnlyMessageSentCallback
- All Implemented Interfaces:
- MessageSentCallback
public class InOnlyMessageSentCallback
- extends Object
- implements MessageSentCallback
MessageSentCallback
used to enrich the Camel Exchange
with
the actual JMSMessageID after sending to a JMS Destination using
ExchangePattern.InOnly
style.
Method Summary |
void |
sent(javax.jms.Session session,
javax.jms.Message message,
javax.jms.Destination destination)
Callback when the message has been sent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InOnlyMessageSentCallback
public InOnlyMessageSentCallback(org.apache.camel.Exchange exchange)
sent
public void sent(javax.jms.Session session,
javax.jms.Message message,
javax.jms.Destination destination)
- Description copied from interface:
MessageSentCallback
- Callback when the message has been sent.
- Specified by:
sent
in interface MessageSentCallback
- Parameters:
session
- the sessionmessage
- the messagedestination
- the destination
Apache Camel