public class ChoiceRouter extends AbstractSelectiveRouter implements NonBlockingMessageProcessor
MessageProcessor
using a Filter
to evaluate the event being processed and find the first route that can be used.
If a default route has been configured and no match has been found, the default
route will be used. Otherwise it throws a RoutePathNotFoundException
.
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
ChoiceRouter() |
Modifier and Type | Method and Description |
---|---|
protected Collection<MessageProcessor> |
selectProcessors(MuleEvent event) |
addMessageProcessorPathElements, addRoute, dispose, getConditionalMessageProcessors, getRouterStatistics, initialise, process, removeRoute, setDefaultRoute, setFlowConstruct, setMuleContext, setRouterStatistics, start, stop, toString, updateRoute
getAnnotation, getAnnotations, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
process
protected Collection<MessageProcessor> selectProcessors(MuleEvent event)
selectProcessors
in class AbstractSelectiveRouter
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.