org.mule.umo.routing
Interface UMOOutboundMessageRouter

All Superinterfaces:
UMORouterCollection
All Known Implementing Classes:
OutboundMessageRouter

public interface UMOOutboundMessageRouter
extends UMORouterCollection

UMOOutboundMessageRouter TODO

Version:
$Revision: 1.2 $
Author:
Ross Mason

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
 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

route

public UMOMessage route(UMOMessage message,
                        UMOSession session,
                        boolean synchronous)
                 throws RoutingException
Prepares one or more events to be dispached by a Message Dispatcher

Parameters:
message - The source Message
session - The current session
Returns:
a list containing 0 or events to be dispatched
Throws:
RoutingException - If any of the events cannot be created.

getEndpointsForMessage

public UMOEndpoint[] getEndpointsForMessage(UMOMessage message)
                                     throws RoutingException
A helper method for finding out which endpoints a message would be routed to without actually routing the the message

Parameters:
message - the message to retrieve endpoints for
Returns:
an array of UMOEndpoint objects or an empty array
Throws:
RoutingException - if there is a filter exception


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.