org.mule.routing.outbound
Class OutboundPassThroughRouter
java.lang.Object
org.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.outbound.FilteringOutboundRouter
org.mule.routing.outbound.OutboundPassThroughRouter
- All Implemented Interfaces:
- FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor, MessageRouter, Matchable, MatchableMessageProcessor, MatchableMessageRouter, OutboundRouter, RouterStatisticsRecorder, TransformingMatchable
public class OutboundPassThroughRouter
- extends FilteringOutboundRouter
OutboundPassThroughRouter allows outbound routing over a single
endpoint without any filtering. This class is used by Mule when a single outbound
router is set on a Service.
| Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
enableCorrelation, flowConstruct, initialised, logger, magicProperties, muleContext, replyTo, resultsHandler, routes, started, transactionConfig |
| Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
dispose, getEnableCorrelation, getMuleContext, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setFlowConstruct, setMessageProcessors, setMessageProperties, setMuleContext, setReplyTo, setResultsHandler, setRouterStatistics, setTransactionConfig, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutboundPassThroughRouter
public OutboundPassThroughRouter()
addRoute
public void addRoute(MessageProcessor target)
throws MuleException
- Description copied from interface:
MessageRouter
- Adds a new message processor to the list of routes
- Specified by:
addRoute in interface MessageRouter- Overrides:
addRoute in class FilteringOutboundRouter
- Parameters:
target - new destination message processor
- Throws:
MuleException
setRoutes
public void setRoutes(List<MessageProcessor> endpoints)
throws MuleException
- Overrides:
setRoutes in class AbstractOutboundRouter
- Throws:
MuleException
setFilter
public void setFilter(Filter filter)
- Overrides:
setFilter in class FilteringOutboundRouter
route
public MuleEvent route(MuleEvent event)
throws RoutingException
- Overrides:
route in class FilteringOutboundRouter
- Throws:
RoutingException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.