public interface RoutePolicyFactory
RoutePolicy
and assign to routes automatic.Modifier and Type | Method and Description |
---|---|
RoutePolicy |
createRoutePolicy(CamelContext camelContext,
String routeId,
NamedNode route)
Creates a new
RoutePolicy which will be assigned to the given route. |
RoutePolicy createRoutePolicy(CamelContext camelContext, String routeId, NamedNode route)
RoutePolicy
which will be assigned to the given route.camelContext
- the camel contextrouteId
- the route idroute
- the route definitionRoutePolicy
, or null to not use a policy for this routeApache Camel