Package 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
MessageSentCallbackused to enrich the CamelExchangewith the actual JMSMessageID after sending to a JMS Destination usingExchangePattern.InOnlystyle.
-
-
Constructor Summary
Constructors Constructor Description InOnlyMessageSentCallback(org.apache.camel.Exchange exchange)
-
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.
-
-
-
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
-
-