org.mule.api.routing
Interface RouterCollection
- All Superinterfaces:
- Disposable, Initialisable
- All Known Subinterfaces:
- BindingCollection, InboundRouterCollection, OutboundRouterCollection, ResponseRouterCollection
- All Known Implementing Classes:
- AbstractRouterCollection, DefaultBindingCollection, DefaultInboundRouterCollection, DefaultOutboundRouterCollection, DefaultResponseRouterCollection
public interface RouterCollection
- extends Initialisable, Disposable
RouterCollection
defines the interface for a MessageRouter that
manages more than one router. A RouterCatchAllStrategy
can be set on
this router to route unwanted or unfiltered events. If a catch strategy is not
set, the router just returns null.
setRouters
void setRouters(List<? extends Router> routers)
getRouters
List<? extends Router> getRouters()
addRouter
void addRouter(Router router)
removeRouter
Router removeRouter(Router router)
getCatchAllStrategy
RouterCatchAllStrategy getCatchAllStrategy()
setCatchAllStrategy
void setCatchAllStrategy(RouterCatchAllStrategy catchAllStrategy)
isMatchAll
boolean isMatchAll()
getStatistics
RouterStatistics getStatistics()
setStatistics
void setStatistics(RouterStatistics stat)
setMatchAll
void setMatchAll(boolean matchAll)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.