public class DefaultNestedRouter extends AbstractRouter implements NestedRouter
| Modifier and Type | Field and Description |
|---|---|
protected OutboundRouter |
outboundRouter |
muleContextPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
DefaultNestedRouter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createProxy(Object target)
This wires the dynamic proxy to the service object.
|
OutboundEndpoint |
getEndpoint() |
Class |
getInterface() |
Class |
getInterfaceClass() |
String |
getMethod() |
MuleMessage |
route(MuleMessage message,
MuleSession session,
boolean synchronous)
This method is responsible for routing the Message via the MuleSession.
|
void |
setEndpoint(OutboundEndpoint e) |
void |
setInterface(Class interfaceClass) |
void |
setMethod(String methodName) |
String |
toString() |
dispose, getMuleContext, getRouterStatistics, initialise, setMuleContext, setRouterStatisticsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRouterStatistics, setRouterStatisticsinitialisedisposeprotected OutboundRouter outboundRouter
public MuleMessage route(MuleMessage message, MuleSession session, boolean synchronous) throws MessagingException
NestedRouterroute in interface NestedRoutermessage - the message to send via one or more endpoints on this routersession - the session used to actually send the eventsynchronous - whether the invocation process should be synchronous or notMessagingException - if any errors occur during the sending of messagesFilteringOutboundRouter,
ExceptionBasedRouter,
MulticastingRouterpublic void setInterface(Class interfaceClass)
setInterface in interface NestedRouterpublic Class getInterface()
getInterface in interface NestedRouterpublic String getMethod()
getMethod in interface NestedRouterpublic void setMethod(String methodName)
setMethod in interface NestedRouterpublic Object createProxy(Object target)
NestedRoutercreateProxy in interface NestedRouterpublic void setEndpoint(OutboundEndpoint e)
setEndpoint in interface NestedRouterpublic Class getInterfaceClass()
public OutboundEndpoint getEndpoint()
getEndpoint in interface NestedRouterCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.