org.mule.routing.outbound
Class OutboundPassThroughRouter

java.lang.Object
  extended by org.mule.processor.AbstractMessageProcessorOwner
      extended by org.mule.routing.outbound.AbstractOutboundRouter
          extended by org.mule.routing.outbound.FilteringOutboundRouter
              extended by 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.


Field Summary
 
Fields inherited from class org.mule.routing.outbound.FilteringOutboundRouter
expressionManager
 
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
enableCorrelation, initialised, logger, magicProperties, replyTo, resultsHandler, routes, started, transactionConfig
 
Fields inherited from class org.mule.processor.AbstractMessageProcessorOwner
flowConstruct, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
OutboundPassThroughRouter()
           
 
Method Summary
 void addRoute(MessageProcessor target)
          Adds a new message processor to the list of routes
 MuleEvent route(MuleEvent event)
           
 void setFilter(Filter filter)
           
 void setRoutes(List<MessageProcessor> endpoints)
           
 
Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter
getFilter, getRoute, getTransformers, initialise, isMatch, isTransformBeforeMatch, isUseTemplates, setTransformers, setUseTemplates
 
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
assertNonConsumableMessage, cloneMessage, 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 org.mule.processor.AbstractMessageProcessorOwner
setFlowConstruct, setMuleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.context.MuleContextAware
setMuleContext
 
Methods inherited from interface org.mule.api.construct.FlowConstructAware
setFlowConstruct
 

Constructor Detail

OutboundPassThroughRouter

public OutboundPassThroughRouter()
Method Detail

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-2014 MuleSoft, Inc.. All Rights Reserved.