Package org.apache.camel.component.jms
Class InOnlyMessageSentCallback
java.lang.Object
org.apache.camel.component.jms.InOnlyMessageSentCallback
- All Implemented Interfaces:
MessageSentCallback
MessageSentCallback used to enrich the Camel Exchange with the actual JMSMessageID after
sending to a JMS Destination using ExchangePattern.InOnly style.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsent(jakarta.jms.Session session, jakarta.jms.Message message, jakarta.jms.Destination destination) Callback when the message has been sent.
-
Constructor Details
-
InOnlyMessageSentCallback
public InOnlyMessageSentCallback(org.apache.camel.Exchange exchange)
-
-
Method Details
-
sent
public void sent(jakarta.jms.Session session, jakarta.jms.Message message, jakarta.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
-