org.mule.api.routing
Interface OutboundRouterCollection
- All Superinterfaces:
- Disposable, Initialisable, MatchingRouter, MessageProcessor, MuleContextAware, RouterStatisticsRecorder
- All Known Implementing Classes:
- DefaultOutboundRouterCollection
public interface OutboundRouterCollection
- extends MatchingRouter, RouterStatisticsRecorder, Initialisable, Disposable, MuleContextAware
RouterCollection
defines the interface for a MessageRouter that
manages more than one router. A OutboundRouterCatchAllStrategy
can be set
on this router to route unwanted or unfiltered events. If a catch strategy is not
set, the router just returns null. OutboundRouterCollection
is
responsible for holding all outbound routers for a service service.
getRoutes
List<MatchableMessageProcessor> getRoutes()
getCatchAllStrategy
OutboundRouterCatchAllStrategy getCatchAllStrategy()
setCatchAllStrategy
void setCatchAllStrategy(OutboundRouterCatchAllStrategy catchAllStrategy)
isMatchAll
boolean isMatchAll()
setMatchAll
void setMatchAll(boolean matchAll)
hasEndpoints
boolean hasEndpoints()
- Determines if any targets have been set on this router.
getRouterStatistics
RouterStatistics getRouterStatistics()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.