Package org.apache.camel.spi
Interface RoutePolicyFactory
public interface RoutePolicyFactory
A factory to create
RoutePolicy
and assign to routes automatic.-
Method Summary
Modifier and TypeMethodDescriptioncreateRoutePolicy
(CamelContext camelContext, String routeId, NamedNode route) Creates a newRoutePolicy
which will be assigned to the given route.
-
Method Details
-
createRoutePolicy
Creates a newRoutePolicy
which 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
-