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.PHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
void |
addRouter(Router router) |
RouterCatchAllStrategy |
getCatchAllStrategy() |
List |
getRouters() |
RouterStatistics |
getStatistics() |
boolean |
isMatchAll() |
Router |
removeRouter(Router router) |
void |
setCatchAllStrategy(RouterCatchAllStrategy catchAllStrategy) |
void |
setMatchAll(boolean matchAll) |
void |
setRouters(List routers) |
void |
setStatistics(RouterStatistics stat) |
initialise
dispose
void setRouters(List routers)
List getRouters()
void addRouter(Router router)
RouterCatchAllStrategy getCatchAllStrategy()
void setCatchAllStrategy(RouterCatchAllStrategy catchAllStrategy)
boolean isMatchAll()
RouterStatistics getStatistics()
void setStatistics(RouterStatistics stat)
void setMatchAll(boolean matchAll)
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.