public class DefaultInboundRouterCollection extends AbstractRouterCollection implements InboundRouterCollection
DefaultInboundRouterCollection is a collection of routers that will be
invoked when an event is received. It is responsible for managing a collection of
routers and also executing the routing logic. Each router must match against the
current event for the event to be routed.logger, matchAll, muleContext, routersPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
DefaultInboundRouterCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEndpoint(InboundEndpoint endpoint) |
void |
addRouter(InboundRouter router) |
void |
dispatch(MuleEvent event) |
InboundEndpoint |
getEndpoint(String name) |
List |
getEndpoints() |
boolean |
removeEndpoint(InboundEndpoint endpoint) |
InboundRouter |
removeRouter(InboundRouter router) |
MuleMessage |
route(MuleEvent event) |
MuleMessage |
send(MuleEvent event) |
void |
setEndpoints(List endpoints) |
addRouter, dispose, getCatchAllStrategy, getRouters, getStatistics, initialise, isMatchAll, removeRouter, setCatchAllStrategy, setMatchAll, setMuleContext, setRouters, setStatisticsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRouter, getCatchAllStrategy, getRouters, getStatistics, isMatchAll, removeRouter, setCatchAllStrategy, setMatchAll, setRouters, setStatisticsinitialisedisposepublic MuleMessage route(MuleEvent event) throws MessagingException
route in interface InboundRouterCollectionMessagingExceptionpublic void dispatch(MuleEvent event) throws MuleException
MuleExceptionpublic MuleMessage send(MuleEvent event) throws MuleException
MuleExceptionpublic void addRouter(InboundRouter router)
addRouter in interface InboundRouterCollectionpublic InboundRouter removeRouter(InboundRouter router)
removeRouter in interface InboundRouterCollectionpublic void addEndpoint(InboundEndpoint endpoint)
addEndpoint in interface InboundRouterCollectionpublic boolean removeEndpoint(InboundEndpoint endpoint)
removeEndpoint in interface InboundRouterCollectionpublic List getEndpoints()
getEndpoints in interface InboundRouterCollectionpublic void setEndpoints(List endpoints)
setEndpoints in interface InboundRouterCollectionpublic InboundEndpoint getEndpoint(String name)
getEndpoint in interface InboundRouterCollectionname - the Endpoint identifierInboundRouterCollectionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.