org.mule.umo.routing
Interface UMOResponseRouterCollection

All Superinterfaces:
UMORouterCollection
All Known Implementing Classes:
ResponseRouterCollection

public interface UMOResponseRouterCollection
extends UMORouterCollection

UMOResponseRouterCollection is a router that can be used to control how the response in a request/response message flow is created. Its main use case is to aggregate a set of asynchonous events into a single response.


Method Summary
 void addEndpoint(UMOEndpoint endpoint)
           
 UMOEndpoint getEndpoint(String name)
           
 List getEndpoints()
           
 UMOMessage getResponse(UMOMessage message)
           
 int getTimeout()
           
 boolean removeEndpoint(UMOEndpoint endpoint)
           
 UMOResponseRouter removeRouter(UMOResponseRouter router)
           
 void route(UMOEvent event)
           
 void setEndpoints(List endpoints)
           
 void setTimeout(int timeout)
           
 
Methods inherited from interface org.mule.umo.routing.UMORouterCollection
addRouter, getCatchAllStrategy, getRouters, getStatistics, isMatchAll, removeRouter, setCatchAllStrategy, setMatchAll, setRouters, setStatistics
 

Method Detail

route

void route(UMOEvent event)
           throws RoutingException
Throws:
RoutingException

getResponse

UMOMessage getResponse(UMOMessage message)
                       throws UMOException
Throws:
UMOException

removeRouter

UMOResponseRouter removeRouter(UMOResponseRouter router)

addEndpoint

void addEndpoint(UMOEndpoint endpoint)

removeEndpoint

boolean removeEndpoint(UMOEndpoint endpoint)

getEndpoints

List getEndpoints()

getEndpoint

UMOEndpoint getEndpoint(String name)
Parameters:
name - the Endpoint identifier
Returns:
the Endpoint or null if the endpointUri is not registered
See Also:
UMOResponseRouterCollection

setEndpoints

void setEndpoints(List endpoints)

getTimeout

int getTimeout()

setTimeout

void setTimeout(int timeout)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.