org.mule.transport.jms
Class JmsReplyToHandler
java.lang.Object
org.mule.transport.DefaultReplyToHandler
org.mule.transport.jms.JmsReplyToHandler
- All Implemented Interfaces:
- ReplyToHandler
public class JmsReplyToHandler
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsReplyToHandler
public JmsReplyToHandler(JmsConnector connector,
List transformers)
processReplyTo
public void processReplyTo(MuleEvent event,
MuleMessage returnMessage,
Object replyTo)
throws MuleException
- Specified by:
processReplyTo
in interface ReplyToHandler
- Overrides:
processReplyTo
in class DefaultReplyToHandler
- Throws:
MuleException
processMessage
protected void processMessage(Message replyToMessage,
MuleEvent event)
throws JMSException
- Throws:
JMSException
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.