org.apache.camel.component.jms.reply
Class UseMessageIdAsCorrelationIdMessageSentCallback
java.lang.Object
org.apache.camel.component.jms.reply.UseMessageIdAsCorrelationIdMessageSentCallback
- All Implemented Interfaces:
- MessageSentCallback
public class UseMessageIdAsCorrelationIdMessageSentCallback
- extends Object
- implements MessageSentCallback
Callback to be used when using the option useMessageIDAsCorrelationID.
This callback will keep the correlation registration in ReplyManager
up-to-date with
the JMSMessageID which was assigned and used when the message was sent.
- Version:
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 |
UseMessageIdAsCorrelationIdMessageSentCallback
public UseMessageIdAsCorrelationIdMessageSentCallback(ReplyManager replyManager,
String correlationId,
long requestTimeout)
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