@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.expressionManagerenableCorrelation, initialised, logger, replyTo, resultsHandler, routes, started, transactionConfigflowConstruct, messagingExceptionHandler, muleContextPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAMEPROPERTY_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, setUseTemplatescloneMessage, 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, stopaddMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotationsgetFlowConstruct, getMessagingExceptionHandler, setFlowConstruct, setMessagingExceptionHandler, setMuleContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetMuleContextsetFlowConstructpublic void initialise()
throws InitialisationException
InitialisableInitialisationException 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 Initialisableinitialise in class FilteringOutboundRouterInitialisationException - 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 FilteringOutboundRouterRoutingExceptionprotected 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.