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 inReplyManagerup-to-date with the JMSMessageID which was assigned and used when the message was sent.
-
-
Constructor Summary
Constructors Constructor Description UseMessageIdAsCorrelationIdMessageSentCallback(ReplyManager replyManager, String correlationId, long requestTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsent(javax.jms.Session session, javax.jms.Message message, javax.jms.Destination destination)Callback when the message has been sent.
-
-
-
Constructor Detail
-
UseMessageIdAsCorrelationIdMessageSentCallback
public UseMessageIdAsCorrelationIdMessageSentCallback(ReplyManager replyManager, String correlationId, long requestTimeout)
-
-
Method Detail
-
sent
public void sent(javax.jms.Session session, javax.jms.Message message, javax.jms.Destination destination)Description copied from interface:MessageSentCallbackCallback when the message has been sent.- Specified by:
sentin interfaceMessageSentCallback- Parameters:
session- the sessionmessage- the messagedestination- the destination
-
-