org.mule.transport.jms
Class JmsReplyToHandler
java.lang.Object
org.mule.transport.DefaultReplyToHandler
org.mule.transport.jms.JmsReplyToHandler
- All Implemented Interfaces:
- Serializable, org.mule.api.transport.ReplyToHandler, org.mule.util.store.DeserializationPostInitialisable
public class JmsReplyToHandler
- extends org.mule.transport.DefaultReplyToHandler
JmsReplyToHandler will process a JMS replyTo or hand off to the
default replyTo handler if the replyTo is a URL.
The purpose of this class is to send a result on a ReplyTo destination if one
has been set.
Note that the JmsMessageDispatcher also contains logic for handling ReplyTo. However,
the dispatcher is responsible attaching the replyTo information to the message and also
receiving on the same replyTo if 'remoteSync' is set. The JmsMessageDispatcher never
writes to the 'replyTo' destination.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface org.mule.util.store.DeserializationPostInitialisable |
org.mule.util.store.DeserializationPostInitialisable.Implementation |
| Fields inherited from class org.mule.transport.DefaultReplyToHandler |
connector, logger, muleContext |
| Methods inherited from class org.mule.transport.DefaultReplyToHandler |
findConnector, getConnector, getEndpoint |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsReplyToHandler
public JmsReplyToHandler(JmsConnector connector,
org.mule.api.MuleContext muleContext)
processReplyTo
public void processReplyTo(org.mule.api.MuleEvent event,
org.mule.api.MuleMessage returnMessage,
Object replyTo)
throws org.mule.api.MuleException
- Specified by:
processReplyTo in interface org.mule.api.transport.ReplyToHandler- Overrides:
processReplyTo in class org.mule.transport.DefaultReplyToHandler
- Throws:
org.mule.api.MuleException
processMessage
protected void processMessage(javax.jms.Message replyToMessage,
org.mule.api.MuleEvent event)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
initAfterDeserialisation
public void initAfterDeserialisation(org.mule.api.MuleContext muleContext)
throws org.mule.api.MuleException
- Overrides:
initAfterDeserialisation in class org.mule.transport.DefaultReplyToHandler
- Throws:
org.mule.api.MuleException
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.