org.mule.umo.routing
Interface UMOResponseMessageRouter
- All Superinterfaces:
- UMORouterCollection
- All Known Implementing Classes:
- ResponseMessageRouter
- public interface UMOResponseMessageRouter
- extends UMORouterCollection
UMOResponseMessageRouter is a router that can be used to control
how the response in a request/response message flow is created. Main usecase is to
aggregate a set of asynchonous events into a single response
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
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:
UMOResponseMessageRouter
setEndpoints
public void setEndpoints(List endpoints)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int timeout)
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.