public class DefaultNestedRouter extends AbstractRouter implements NestedRouter
Modifier and Type | Field and Description |
---|---|
protected OutboundRouter |
outboundRouter |
muleContext
PHASE_NAME
PHASE_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, setRouterStatistics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRouterStatistics, setRouterStatistics
initialise
dispose
protected OutboundRouter outboundRouter
public MuleMessage route(MuleMessage message, MuleSession session, boolean synchronous) throws MessagingException
NestedRouter
route
in interface NestedRouter
message
- 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
,
MulticastingRouter
public void setInterface(Class interfaceClass)
setInterface
in interface NestedRouter
public Class getInterface()
getInterface
in interface NestedRouter
public String getMethod()
getMethod
in interface NestedRouter
public void setMethod(String methodName)
setMethod
in interface NestedRouter
public Object createProxy(Object target)
NestedRouter
createProxy
in interface NestedRouter
public void setEndpoint(OutboundEndpoint e)
setEndpoint
in interface NestedRouter
public Class getInterfaceClass()
public OutboundEndpoint getEndpoint()
getEndpoint
in interface NestedRouter
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.