Package org.apache.camel.spi
Interface RoutePolicyFactory
-
public interface RoutePolicyFactoryA factory to createRoutePolicyand assign to routes automatic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoutePolicycreateRoutePolicy(CamelContext camelContext, String routeId, NamedNode route)Creates a newRoutePolicywhich will be assigned to the given route.
-
-
-
Method Detail
-
createRoutePolicy
RoutePolicy createRoutePolicy(CamelContext camelContext, String routeId, NamedNode route)
Creates a newRoutePolicywhich will be assigned to the given route.- Parameters:
camelContext- the camel contextrouteId- the route idroute- the route definition- Returns:
- the created
RoutePolicy, or null to not use a policy for this route
-
-