|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
UMOOutboundRouter is used to control outbound routing behaviour for
an event. One or more Outbound routers can be associated with an
UMOOutboundMessageRouter and will be selected based on the filters
set on the individual Outbound Router.
UMOOutboundMessageRouter| Method Summary | |
void |
addEndpoint(UMOEndpoint endpoint)
Adds an endpoint to this router |
List |
getEndpoints()
Gets a list of UMOEndpoint instances associated with this router |
String |
getReplyTo()
Gets the replyTo endpoint for any outgoing messages. |
UMOTransactionConfig |
getTransactionConfig()
|
boolean |
isDynamicEndpoints()
Determines whether this router supports dynamic endpoint. |
boolean |
isMatch(UMOMessage message)
Determines if the event should be processed by this router. |
boolean |
removeEndpoint(UMOEndpoint endpoint)
Removes a specific endpoint from the router |
UMOMessage |
route(UMOMessage message,
UMOSession session,
boolean synchronous)
This method is responsible for routing the Message via the Session. |
void |
setEndpoints(List endpoints)
Sets a list of UMOEndpoint instances associated with this router |
void |
setReplyTo(String replyTo)
Sets the replyTo endpoint for any outgoing messages. |
void |
setTransactionConfig(UMOTransactionConfig transactionConfig)
|
| Methods inherited from interface org.mule.umo.routing.UMORouter |
getRouterStatistics, setRouterStatistics |
| Method Detail |
public void setEndpoints(List endpoints)
endpoints - a list of UMOEndpoint instancespublic List getEndpoints()
public void addEndpoint(UMOEndpoint endpoint)
endpoint - the endpoint to add to the routerpublic boolean removeEndpoint(UMOEndpoint endpoint)
endpoint - the endpoint to remove
public UMOMessage route(UMOMessage message,
UMOSession session,
boolean synchronous)
throws MessagingException
message - the message to send via one or more endpoints on this routersession - the session used to actually send the eventsynchronous - whether the invocation process should be synchronous or not
MessagingException - if any errors occur during the sending of messagesFilteringOutboundRouter,
ExceptionBasedRouter,
MulticastingRouter
public boolean isMatch(UMOMessage message)
throws MessagingException
message - the current message to evaluate
MessagingException - if the event cannot be evaluatedSelectiveConsumerpublic UMOTransactionConfig getTransactionConfig()
public void setTransactionConfig(UMOTransactionConfig transactionConfig)
public String getReplyTo()
public void setReplyTo(String replyTo)
replyTo - endpoint string to usepublic boolean isDynamicEndpoints()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||