org.mule.routing.outbound
Class OutboundPassThroughRouter
java.lang.Object
org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
org.mule.processor.AbstractMessageProcessorOwner
org.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.outbound.FilteringOutboundRouter
org.mule.routing.outbound.OutboundPassThroughRouter
- All Implemented Interfaces:
- AnnotatedObject, 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.
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
cloneMessage, createEventToRoute, dispose, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, 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-2012 MuleSoft, Inc.. All Rights Reserved.