org.mule.api.routing
Interface OutboundRouter
- All Superinterfaces:
- Disposable, FlowConstructAware, Initialisable, Lifecycle, Matchable, MatchableMessageProcessor, MatchableMessageRouter, MessageProcessor, MessageRouter, MuleContextAware, RouterStatisticsRecorder, Startable, Stoppable
- All Known Implementing Classes:
- AbstractMessageSplitter, AbstractOutboundRouter, AbstractRecipientList, AbstractRoundRobinMessageSplitter, AbstractSequenceRouter, ChainingRouter, ContentBasedRouter, EndpointSelector, ExceptionBasedRouter, ExpressionMessageSplitter, ExpressionRecipientList, FilterBasedXmlMessageSplitter, FilteringOutboundRouter, FirstSuccessful, ListMessageSplitter, MessageChunkingRouter, MulticastingRouter, OutboundPassThroughRouter, RoundRobin, SequenceRouter, StaticRecipientList, SxcFilteringOutboundRouter, TransformerRouter, UntilSuccessful, XmlMessageSplitter
public interface OutboundRouter
- extends MatchableMessageRouter, RouterStatisticsRecorder, Lifecycle, MuleContextAware, FlowConstructAware
OutboundRouter
is used to control outbound routing behaviour for an
event. One or more Outbound routers can be associated with an
OutboundRouterCollection
and will be selected based on the filters
set on the individual Outbound Router.
- See Also:
OutboundRouterCollection
Methods inherited from interface org.mule.api.lifecycle.Startable |
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
stop |
setTransactionConfig
void setTransactionConfig(TransactionConfig transactionConfig)
setReplyTo
void setReplyTo(String replyTo)
- Sets the replyTo route for any outgoing messages. This will then be used by
other Mule routers to send replies back for this message. If the underlying
protocol supports replyTo messages, such as Jms, a Jms Destination will be
attached to the outbound message
- Parameters:
replyTo
- route string to use
isDynamicRoutes
boolean isDynamicRoutes()
- Determines whether this router supports dynamic route. i.e. routes that are
not configured at design time. routes might be pulled from the message or
payload.
getRoutes
List<MessageProcessor> getRoutes()
- Gets a list of MessageProcessor instances associated with this router
- Returns:
- a list of MessageProcessor instances
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.