1
2
3
4
5
6
7 package org.mule.api.routing;
8
9 import org.mule.api.context.MuleContextAware;
10 import org.mule.api.lifecycle.Disposable;
11 import org.mule.api.lifecycle.Initialisable;
12 import org.mule.management.stats.RouterStatistics;
13
14 import java.util.List;
15
16
17
18
19
20
21
22
23
24 public interface OutboundRouterCollection
25 extends MatchingRouter, RouterStatisticsRecorder, Initialisable, Disposable, MuleContextAware
26 {
27 List<MatchableMessageProcessor> getRoutes();
28
29 OutboundRouterCatchAllStrategy getCatchAllStrategy();
30
31 void setCatchAllStrategy(OutboundRouterCatchAllStrategy catchAllStrategy);
32
33 boolean isMatchAll();
34
35 void setMatchAll(boolean matchAll);
36
37
38
39
40 boolean hasEndpoints();
41
42 RouterStatistics getRouterStatistics();
43 }