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 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 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 ReplyToHandler
MuleException
public void processExceptionReplyTo(MessagingException exception, Object replyTo)
ReplyToHandler
processExceptionReplyTo
in interface ReplyToHandler
exception
- 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
MuleException
public void initAfterDeserialisation(MuleContext context) throws MuleException
MuleException
public Connector getConnector()
protected Connector findConnector()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.