org.mule.routing.inbound
Class InboundRouterCollection
java.lang.Object
org.mule.routing.AbstractRouterCollection
org.mule.routing.inbound.InboundRouterCollection
- All Implemented Interfaces:
- UMOInboundRouterCollection, UMORouterCollection
- public class InboundRouterCollection
- extends AbstractRouterCollection
- implements UMOInboundRouterCollection
InboundRouterCollection 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InboundRouterCollection
public InboundRouterCollection()
route
public UMOMessage route(UMOEvent event)
throws MessagingException
- Specified by:
route in interface UMOInboundRouterCollection
- Throws:
MessagingException
dispatch
public void dispatch(UMOEvent event)
throws UMOException
- Throws:
UMOException
send
public UMOMessage send(UMOEvent event)
throws UMOException
- Throws:
UMOException
addRouter
public void addRouter(UMOInboundRouter router)
- Specified by:
addRouter in interface UMOInboundRouterCollection
removeRouter
public UMOInboundRouter removeRouter(UMOInboundRouter router)
- Specified by:
removeRouter in interface UMOInboundRouterCollection
addEndpoint
public void addEndpoint(UMOEndpoint endpoint)
- Specified by:
addEndpoint in interface UMOInboundRouterCollection
removeEndpoint
public boolean removeEndpoint(UMOEndpoint endpoint)
- Specified by:
removeEndpoint in interface UMOInboundRouterCollection
getEndpoints
public List getEndpoints()
- Specified by:
getEndpoints in interface UMOInboundRouterCollection
setEndpoints
public void setEndpoints(List endpoints)
- Specified by:
setEndpoints in interface UMOInboundRouterCollection
getEndpoint
public UMOEndpoint getEndpoint(String name)
- Specified by:
getEndpoint in interface UMOInboundRouterCollection
- Parameters:
name - the Endpoint identifier
- Returns:
- the Endpoint or null if the endpointUri is not registered
- See Also:
UMOInboundRouterCollection
Copyright © 2003-2007 MuleSource, Inc.. All Rights Reserved.