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