org.mule.routing.inbound
Class InboundMessageRouter
java.lang.Object
org.mule.routing.AbstractRouterCollection
org.mule.routing.inbound.InboundMessageRouter
- All Implemented Interfaces:
- UMOInboundMessageRouter, UMORouterCollection
- public class InboundMessageRouter
- extends AbstractRouterCollection
- implements UMOInboundMessageRouter
InboundMessageRouter is a collection of routers that will be
invoked when an event is received It is responsible for manageing a collection of
routers and also executing the routing logic. Each router must match against the
current event for the event to be routed.
- Version:
- $Revision: 4219 $
- Author:
- Ross Mason
|
Field Summary |
protected static Log |
logger
logger used by this class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Log logger
- logger used by this class
InboundMessageRouter
public InboundMessageRouter()
route
public UMOMessage route(UMOEvent event)
throws MessagingException
- Specified by:
route in interface UMOInboundMessageRouter
- 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 UMOInboundMessageRouter
removeRouter
public UMOInboundRouter removeRouter(UMOInboundRouter router)
- Specified by:
removeRouter in interface UMOInboundMessageRouter
addEndpoint
public void addEndpoint(UMOEndpoint endpoint)
- Specified by:
addEndpoint in interface UMOInboundMessageRouter
removeEndpoint
public boolean removeEndpoint(UMOEndpoint endpoint)
- Specified by:
removeEndpoint in interface UMOInboundMessageRouter
getEndpoints
public List getEndpoints()
- Specified by:
getEndpoints in interface UMOInboundMessageRouter
setEndpoints
public void setEndpoints(List endpoints)
- Specified by:
setEndpoints in interface UMOInboundMessageRouter
getEndpoint
public UMOEndpoint getEndpoint(String name)
- Specified by:
getEndpoint in interface UMOInboundMessageRouter
- Parameters:
name - the Endpoint identifier
- Returns:
- the Endpoint or null if the endpointUri is not registered
- See Also:
UMOInboundMessageRouter
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.