org.apache.camel.component.jms
Class InOnlyMessageSentCallback

java.lang.Object
  extended by org.apache.camel.component.jms.InOnlyMessageSentCallback
All Implemented Interfaces:
MessageSentCallback

public class InOnlyMessageSentCallback
extends Object
implements MessageSentCallback

MessageSentCallback used to enrich the Camel Exchange with the actual JMSMessageID after sending to a JMS Destination using ExchangePattern.InOnly style.


Constructor Summary
InOnlyMessageSentCallback(org.apache.camel.Exchange exchange)
           
 
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
 

Constructor Detail

InOnlyMessageSentCallback

public InOnlyMessageSentCallback(org.apache.camel.Exchange exchange)
Method Detail

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 session
message - the message
destination - the destination


Apache Camel