public interface MatchingRouter extends Processor
MatchableMessageProcessors. Which route(s) are used used is defined by
implementations of this interface which use the Matchable#isMatch(InternalMessage) method of
the routers to determine if a router accept the event or not.
Different implementations may route to the first match, or to all matches or you some other strategy. 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.
ReactiveProcessor.ProcessingType| Modifier and Type | Method and Description |
|---|---|
void |
addRoute(MatchableMessageProcessor matchable) |
void |
removeRoute(MatchableMessageProcessor matchable) |
getProcessingTypevoid addRoute(MatchableMessageProcessor matchable)
void removeRoute(MatchableMessageProcessor matchable)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.