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.| Constructor and Description |
|---|
JmsReplyToHandler(JmsConnector connector,
org.mule.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
initAfterDeserialisation(org.mule.api.MuleContext muleContext) |
protected void |
processMessage(javax.jms.Message replyToMessage,
org.mule.api.MuleEvent event) |
void |
processReplyTo(org.mule.api.MuleEvent event,
org.mule.api.MuleMessage returnMessage,
Object replyTo) |
public JmsReplyToHandler(JmsConnector connector, org.mule.api.MuleContext muleContext)
public void processReplyTo(org.mule.api.MuleEvent event,
org.mule.api.MuleMessage returnMessage,
Object replyTo)
throws org.mule.api.MuleException
processReplyTo in interface org.mule.api.transport.ReplyToHandlerprocessReplyTo in class org.mule.transport.DefaultReplyToHandlerorg.mule.api.MuleExceptionprotected void processMessage(javax.jms.Message replyToMessage,
org.mule.api.MuleEvent event)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void initAfterDeserialisation(org.mule.api.MuleContext muleContext)
throws org.mule.api.MuleException
initAfterDeserialisation in class org.mule.transport.DefaultReplyToHandlerorg.mule.api.MuleExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.