Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.api.routing
Interface MatchingRouter

All Superinterfaces:
  MessageProcessor

All Known Subinterfaces:
  OutboundRouterCollection

All Known Implementing Classes:
  AbstractMatchingRouter, DefaultOutboundRouterCollection

    public interface MatchingRouter

extends MessageProcessor

Routes the message to zero or more `MatchableMessageProcessor`s. Which route(s) are used used is defined by implementations of this interface which use the {@link Matchable#isMatch(org.mule.api.MuleEvent) 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.

Method Summary
`void` | `addRoute(MatchableMessageProcessor matchable)`
`void` | `removeRoute(MatchableMessageProcessor matchable)`

Methods inherited from interface org.mule.api.processor.MessageProcessor
`process`

Method Detail

### addRoute

    void addRoute(MatchableMessageProcessor matchable)

### removeRoute

    void removeRoute(MatchableMessageProcessor matchable)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.