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

    Modifier and Type
    Method
    Description
    boolean
    test(org.apache.camel.CamelContext camelContext, String routeId, org.apache.camel.NamedNode route)
    Test if the route should be clustered or not.
  • Method Details

    • 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 context
      routeId - the route id
      route - the route definition
      Returns:
      true if the route should be included