org.mule.api.routing
Interface SelectiveRouter
- All Superinterfaces:
- MessageProcessor
- All Known Implementing Classes:
- AbstractSelectiveRouter, ChoiceRouter
public interface SelectiveRouter
- extends MessageProcessor
Routes the event to MessageProcessor
s using a Filter
to
evaluate the event being processed and determine if a given route should be used.
If the implementation supports the use of a default route then this will be used
to route any events that don't match any other routes.
addRoute
void addRoute(MessageProcessor processor,
Filter filter)
updateRoute
void updateRoute(MessageProcessor processor,
Filter filter)
removeRoute
void removeRoute(MessageProcessor processor)
setDefaultRoute
void setDefaultRoute(MessageProcessor processor)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.