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: 1.3 $
- Author:
- Ross Mason
route
public void route(UMOEvent event)
throws RoutingException
- Throws:
RoutingException
getResponse
public UMOMessage getResponse(UMOMessage message)
throws UMOException
- Throws:
UMOException
addRouter
public void addRouter(UMOResponseRouter router)
removeRouter
public UMOResponseRouter removeRouter(UMOResponseRouter router)
addEndpoint
public void addEndpoint(UMOEndpoint endpoint)
removeEndpoint
public boolean removeEndpoint(UMOEndpoint endpoint)
getEndpoints
public java.util.List getEndpoints()
getEndpoint
public UMOEndpoint getEndpoint(java.lang.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(java.util.List endpoints)
getTransformer
public UMOTransformer getTransformer()
setTransformer
public void setTransformer(UMOTransformer transformer)
isStopProcessing
public boolean isStopProcessing()
setStopProcessing
public void setStopProcessing(boolean stopProcessing)
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.