@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, expressionConfigexpressionManagerenableCorrelation, initialised, logger, replyTo, resultsHandler, routes, started, transactionConfigflowConstruct, messagingExceptionHandler, muleContextPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAMEPROPERTY_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, setExpressionbuildOutboundEndpoint, getRecipientEndpoint, getRecipientEndpointFromString, getRecipientEndpointFromUri, getSynchronous, isDynamicRoutes, setSynchronousaddRoute, getFilter, getRoute, getTransformers, initialise, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplatescloneMessage, 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, stopaddMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotationsgetFlowConstruct, getMessagingExceptionHandler, setFlowConstruct, setMessagingExceptionHandler, setMuleContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetMuleContextsetFlowConstructpublic MuleEvent route(MuleEvent event) throws RoutingException
route in class AbstractRecipientListRoutingExceptionprotected boolean exceptionPayloadAvailable(MuleMessage message)
message - message to checkCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.