public class DefaultReplyToHandler extends Object implements ReplyToHandler, Serializable, DeserializationPostInitialisable
DefaultReplyToHandler is responsible for processing a message
replyTo header.DeserializationPostInitialisable.Implementation| Modifier and Type | Field and Description |
|---|---|
protected Connector |
connector |
protected org.apache.commons.logging.Log |
logger
logger used by this class
|
protected MuleContext |
muleContext |
| Constructor and Description |
|---|
DefaultReplyToHandler(MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
protected Connector |
findConnector() |
Connector |
getConnector() |
protected OutboundEndpoint |
getEndpoint(MuleEvent event,
String endpointUri) |
void |
initAfterDeserialisation(MuleContext context) |
void |
processExceptionReplyTo(MessagingException exception,
Object replyTo)
Processes replyTo in the case an exception occurred.
|
void |
processReplyTo(MuleEvent event,
MuleMessage returnMessage,
Object replyTo) |
protected transient org.apache.commons.logging.Log logger
protected transient MuleContext muleContext
protected transient Connector connector
public DefaultReplyToHandler(MuleContext muleContext)
public void processReplyTo(MuleEvent event, MuleMessage returnMessage, Object replyTo) throws MuleException
processReplyTo in interface ReplyToHandlerMuleExceptionpublic void processExceptionReplyTo(MessagingException exception, Object replyTo)
ReplyToHandlerprocessExceptionReplyTo in interface ReplyToHandlerexception - the exception thrown by processingreplyTo - name of the channel that exception message should be sent if relevantprotected OutboundEndpoint getEndpoint(MuleEvent event, String endpointUri) throws MuleException
MuleExceptionpublic void initAfterDeserialisation(MuleContext context) throws MuleException
MuleExceptionpublic Connector getConnector()
protected Connector findConnector()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.