@Deprecated public class ExceptionBasedRouter extends ExpressionRecipientList
ExceptionBasedRouter
Will send the current event to the first
endpoint that doesn't throw an exception. If all attempted targets fail then an
exception is thrown. The router will override the sync/async mode of the
endpoint and force the sync mode for all targets except the last one.
Deprecated from 3.6.0. This functionality is specific to Services.DEFAULT_SELECTOR_EVALUATOR, DEFAULT_SELECTOR_EXPRESSION, DEFAULT_SELECTOR_PROPERTY, expressionConfig
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 |
---|
ExceptionBasedRouter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
exceptionPayloadAvailable(MuleMessage message)
Deprecated.
|
MuleEvent |
route(MuleEvent event)
Deprecated.
|
getCustomEvaluator, getEvaluator, getExpression, getFullExpression, getRecipients, setCustomEvaluator, setEvaluator, setExpression
buildOutboundEndpoint, getRecipientEndpoint, getRecipientEndpointFromString, getRecipientEndpointFromUri, getSynchronous, isDynamicRoutes, setSynchronous
addRoute, getFilter, getRoute, getTransformers, initialise, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates
cloneMessage, cloneMessage, createEventToRoute, dispose, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, 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 MuleEvent route(MuleEvent event) throws RoutingException
route
in class AbstractRecipientList
RoutingException
protected boolean exceptionPayloadAvailable(MuleMessage message)
message
- message to checkCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.