org.mule.api.routing
Interface ResponseRouterCollection
- All Superinterfaces:
- Disposable, Initialisable, RouterCollection
- All Known Implementing Classes:
- DefaultResponseRouterCollection
public interface ResponseRouterCollection
- extends RouterCollection
ResponseRouterCollection
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(MuleEvent event)
throws RoutingException
- Throws:
RoutingException
getResponse
MuleMessage getResponse(MuleMessage message)
throws MuleException
- Throws:
MuleException
removeRouter
ResponseRouter removeRouter(ResponseRouter router)
addEndpoint
void addEndpoint(InboundEndpoint endpoint)
removeEndpoint
boolean removeEndpoint(InboundEndpoint endpoint)
getEndpoints
List getEndpoints()
getEndpoint
InboundEndpoint getEndpoint(String name)
- Parameters:
name
- the Endpoint identifier
- Returns:
- the Endpoint or null if the endpointUri is not registered
- See Also:
ResponseRouterCollection
setEndpoints
void setEndpoints(List endpoints)
getTimeout
int getTimeout()
setTimeout
void setTimeout(int timeout)
hasEndpoints
boolean hasEndpoints()
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.