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 TypeMethodDescriptionvoid
sent
(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:MessageSentCallback
Callback when the message has been sent.- Specified by:
sent
in interfaceMessageSentCallback
- Parameters:
session
- the sessionmessage
- the messagedestination
- the destination
-