public class ChoiceRouter extends AbstractSelectiveRouter
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 continues the execution through the next MP in the chain.
ReactiveProcessor.ProcessingType| Constructor and Description |
|---|
ChoiceRouter() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Processor> |
getProcessorsToRoute(Event event) |
protected Collection<Processor> |
selectProcessors(Event event,
Event.Builder builder) |
addRoute, apply, dispose, getConditionalMessageProcessors, getRouterStatistics, initialise, process, removeRoute, setDefaultRoute, setFlowConstruct, setMuleContext, setRouterStatistics, start, stop, toString, updateRoutegetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProcessingTypeprotected Collection<Processor> selectProcessors(Event event, Event.Builder builder)
selectProcessors in class AbstractSelectiveRouterprotected Collection<Processor> getProcessorsToRoute(Event event) throws RoutePathNotFoundException
getProcessorsToRoute in class AbstractSelectiveRouterRoutePathNotFoundExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.