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
public void route(UMOEvent event)
throws RoutingException
- Throws:
RoutingException
getResponse
public UMOMessage getResponse(UMOMessage message)
throws UMOException
- Throws:
UMOException
removeRouter
public UMOResponseRouter removeRouter(UMOResponseRouter router)
addEndpoint
public void addEndpoint(UMOEndpoint endpoint)
removeEndpoint
public boolean removeEndpoint(UMOEndpoint endpoint)
getEndpoints
public List getEndpoints()
getEndpoint
public UMOEndpoint getEndpoint(String name)
- Parameters:
name
- the Endpoint identifier
- Returns:
- the Endpoint or null if the endpointUri is not registered
- See Also:
UMOResponseRouterCollection
setEndpoints
public void setEndpoints(List endpoints)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int timeout)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.