|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.outbound.FilteringOutboundRouter
org.mule.routing.outbound.AbstractRecipientList
org.mule.routing.outbound.ExpressionRecipientList
org.mule.routing.outbound.ExceptionBasedRouter
public class ExceptionBasedRouter
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.
Field Summary |
---|
Fields inherited from class org.mule.routing.outbound.ExpressionRecipientList |
---|
DEFAULT_SELECTOR_EVALUATOR, DEFAULT_SELECTOR_EXPRESSION, DEFAULT_SELECTOR_PROPERTY |
Fields inherited from class org.mule.routing.outbound.AbstractRecipientList |
---|
logger |
Fields inherited from class org.mule.routing.outbound.FilteringOutboundRouter |
---|
expressionManager |
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
---|
enableCorrelation, flowConstruct, initialised, magicProperties, muleContext, replyTo, resultsHandler, routes, started, transactionConfig |
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 | |
---|---|
ExceptionBasedRouter()
|
Method Summary | |
---|---|
protected boolean |
exceptionPayloadAvailable(MuleMessage message)
|
MuleEvent |
route(MuleEvent event)
|
Methods inherited from class org.mule.routing.outbound.ExpressionRecipientList |
---|
getCustomEvaluator, getEvaluator, getExpression, getFullExpression, getRecipients, setCustomEvaluator, setEvaluator, setExpression |
Methods inherited from class org.mule.routing.outbound.AbstractRecipientList |
---|
getRecipientEndpoint, getRecipientEndpointFromString, getRecipientEndpointFromUri, getSynchronous, isDynamicRoutes, setSynchronous |
Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter |
---|
addRoute, getFilter, getRoute, getTransformers, initialise, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates |
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
---|
dispose, getEnableCorrelation, getMuleContext, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setFlowConstruct, setMessageProcessors, setMessageProperties, setMuleContext, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig, start, stop |
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.processor.MessageRouter |
---|
addRoute, removeRoute |
Methods inherited from interface org.mule.api.processor.MessageProcessor |
---|
process |
Constructor Detail |
---|
public ExceptionBasedRouter()
Method Detail |
---|
public MuleEvent route(MuleEvent event) throws RoutingException
route
in class AbstractRecipientList
RoutingException
protected boolean exceptionPayloadAvailable(MuleMessage message)
message
- message to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |