@Deprecated public class RemoteDispatcherComponent extends Object implements Callable, Initialisable
RemoteDispatcherComponent is a MuleManager interal server component
responsible for receiving remote requests and dispatching them locally. This
allows developer to tunnel requests through http ssl to a Mule instance behind a
firewall
Deprecated as of 3.6.0| Modifier and Type | Field and Description |
|---|---|
protected String |
encoding
Deprecated.
|
protected InboundEndpoint |
inboundEndpoint
Deprecated.
|
protected static org.apache.commons.logging.Log |
logger
Deprecated.
logger used by this class
|
static String |
MANAGER_COMPONENT_NAME
Deprecated.
|
protected MuleContext |
muleContext
Deprecated.
|
protected int |
synchronousEventTimeout
Deprecated.
|
protected WireFormat |
wireFormat
Deprecated.
Use Serialization by default
|
PHASE_NAME| Constructor and Description |
|---|
RemoteDispatcherComponent(InboundEndpoint inboundEndpoint,
WireFormat wireFormat,
String encoding,
int synchronousEventTimeout)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected ServerHandshake |
doHandshake(MuleEventContext context)
Deprecated.
|
String |
getEncoding()
Deprecated.
|
static Service |
getSerivce(InboundEndpoint endpoint,
WireFormat wireFormat,
String encoding,
int eventTimeout,
MuleContext muleContext)
Deprecated.
|
int |
getSynchronousEventTimeout()
Deprecated.
|
WireFormat |
getWireFormat()
Deprecated.
|
protected Object |
handleException(MuleMessage result,
Throwable e)
Deprecated.
Wraps an exception into a MuleMessage with an Exception payload and returns
the Xml representation of it
|
void |
initialise()
Deprecated.
|
protected Object |
invokeAction(RemoteDispatcherNotification action,
MuleEventContext context)
Deprecated.
|
Object |
onCall(MuleEventContext context)
Deprecated.
|
protected Object |
receiveAction(RemoteDispatcherNotification action,
MuleEventContext context)
Deprecated.
|
protected Object |
sendAction(RemoteDispatcherNotification action,
MuleEventContext context)
Deprecated.
|
void |
setEncoding(String encoding)
Deprecated.
|
void |
setSynchronousEventTimeout(int synchronousEventTimeout)
Deprecated.
|
void |
setWireFormat(WireFormat wireFormat)
Deprecated.
|
protected static final org.apache.commons.logging.Log logger
public static final String MANAGER_COMPONENT_NAME
protected WireFormat wireFormat
protected String encoding
protected int synchronousEventTimeout
protected InboundEndpoint inboundEndpoint
protected MuleContext muleContext
public RemoteDispatcherComponent(InboundEndpoint inboundEndpoint, WireFormat wireFormat, String encoding, int synchronousEventTimeout)
public void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic Object onCall(MuleEventContext context) throws Exception
protected ServerHandshake doHandshake(MuleEventContext context) throws TransformerException
TransformerExceptionprotected Object invokeAction(RemoteDispatcherNotification action, MuleEventContext context) throws MuleException
MuleExceptionprotected Object sendAction(RemoteDispatcherNotification action, MuleEventContext context) throws MuleException
MuleExceptionprotected Object receiveAction(RemoteDispatcherNotification action, MuleEventContext context) throws MuleException
MuleExceptionpublic static Service getSerivce(InboundEndpoint endpoint, WireFormat wireFormat, String encoding, int eventTimeout, MuleContext muleContext) throws MuleException
MuleExceptionprotected Object handleException(MuleMessage result, Throwable e)
result - the result of the invocation or null if the exception occurred
before or during the invocatione - the Exception thrownpublic WireFormat getWireFormat()
public void setWireFormat(WireFormat wireFormat)
public String getEncoding()
public void setEncoding(String encoding)
public int getSynchronousEventTimeout()
public void setSynchronousEventTimeout(int synchronousEventTimeout)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.