org.mule.api.routing
Interface OutboundRouterCollection
- All Superinterfaces:
- Disposable, Initialisable, RouterCollection
- All Known Implementing Classes:
- DefaultOutboundRouterCollection
public interface OutboundRouterCollection
- extends RouterCollection
OutboundRouterCollection
is responsible for holding all outbound routers for a service service.
route
MuleMessage route(MuleMessage message,
MuleSession session)
throws MessagingException
- Prepares one or more events to be dispached by a Message Dispatcher.
- Parameters:
message
- The source Messagesession
- The current session
- Returns:
- a list containing 0 or events to be dispatched
- Throws:
RoutingException
- If any of the events cannot be created.
MessagingException
hasEndpoints
boolean hasEndpoints()
- Determines if any endpoints have been set on this router.
- Returns:
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.