|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
UMOOutboundRouterCollection
is responsible for holding all outbound routers for a service component.
Method Summary | |
UMOEndpoint[] |
getEndpointsForMessage(UMOMessage message)
A helper method for finding out which endpoints a message would be routed to without actually routing the the message. |
boolean |
hasEndpoints()
Determines if any endpoints have been set on this router. |
UMOMessage |
route(UMOMessage message,
UMOSession session,
boolean synchronous)
Prepares one or more events to be dispached by a Message Dispatcher. |
Methods inherited from interface org.mule.umo.routing.UMORouterCollection |
addRouter, getCatchAllStrategy, getRouters, getStatistics, isMatchAll, removeRouter, setCatchAllStrategy, setMatchAll, setRouters, setStatistics |
Method Detail |
public UMOMessage route(UMOMessage message, UMOSession session, boolean synchronous) throws MessagingException
message
- The source Messagesession
- The current session
RoutingException
- If any of the events cannot be created.
MessagingException
public UMOEndpoint[] getEndpointsForMessage(UMOMessage message) throws MessagingException
message
- the message to retrieve endpoints for
RoutingException
- if there is a filter exception
MessagingException
public boolean hasEndpoints()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |