Package org.apache.camel.impl.cluster
Interface ClusteredRouteFilter
-
- All Known Implementing Classes:
ClusteredRouteFilters.BlackList,ClusteredRouteFilters.IsAutoStartup
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ClusteredRouteFilter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantest(org.apache.camel.CamelContext camelContext, String routeId, org.apache.camel.NamedNode route)Test if the route should be clustered or not.
-
-
-
Method Detail
-
test
boolean test(org.apache.camel.CamelContext camelContext, String routeId, org.apache.camel.NamedNode route)Test if the route should be clustered or not.- Parameters:
camelContext- the camel contextrouteId- the route idroute- the route definition- Returns:
- true if the route should be included
-
-