Claus Ibsen created CAMEL-7702:
----------------------------------
Summary: RoutePolicyFactory - To create and setup route policy
easier
Key: CAMEL-7702
URL: https://issues.apache.org/jira/browse/CAMEL-7702
Project: Camel
Issue Type: New Feature
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.14.0
If you want to setup a route policy for each route, then today, you need to
setup this per route. Also its a shared instance, so you need to deal with the
instance being used by different routes.
By having a RoutePolicyFactory it creates a new instance per route, and also
does this for all the routes. Then you only need to configure this once. Mind
that this is useable for use-cases where you want to use the same set of route
policies for all your routes.
Though if the factory returns null, then no route policy is assigned to the
route.
--
This message was sent by Atlassian JIRA
(v6.2#6252)