@Deprecated public class ChainingRouter extends FilteringOutboundRouter
ChainingRouter
is used to pass a Mule event through multiple
targets using the result of the first as the input for the second.
Deprecated from 3.6.0. This functionality is specific to Services.expressionManager
enableCorrelation, initialised, logger, replyTo, resultsHandler, routes, started, transactionConfig
flowConstruct, messagingExceptionHandler, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
ChainingRouter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
protected void |
processIntermediaryResult(MuleMessage localResult,
MuleMessage intermediaryResult)
Deprecated.
Process intermediary result of invocation.
|
MuleEvent |
route(MuleEvent event)
Deprecated.
|
addRoute, getFilter, getRoute, getTransformers, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates
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, setRoutes, setTransactionConfig, start, stop
addMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
getFlowConstruct, getMessagingExceptionHandler, setFlowConstruct, setMessagingExceptionHandler, setMuleContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setMuleContext
setFlowConstruct
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
initialise
in class FilteringOutboundRouter
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic MuleEvent route(MuleEvent event) throws RoutingException
route
in class FilteringOutboundRouter
RoutingException
protected void processIntermediaryResult(MuleMessage localResult, MuleMessage intermediaryResult)
super(localResult, intermediaryResult)
,
unless they are modifying the correlation workflow (if you know what that means,
you know what you are doing and when to do it).
Default implementation propagates
the following properties:
localResult
- result of the last endpoint invocationintermediaryResult
- the message travelling across the targetsCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.