Dennis created CAMEL-13242:
------------------------------

             Summary: Support multiple routes in Master Route Policy
                 Key: CAMEL-13242
                 URL: https://issues.apache.org/jira/browse/CAMEL-13242
             Project: Camel
          Issue Type: New Feature
            Reporter: Dennis


Please add support for using one master route policy to control multiple routes

MasterRoutePolicy policy = new MasterRoutePolicy();
from("quartz2://r1?cron=0+0+15+?+*+*").routePolicy(policy).log("r1 doing work")
from("timer://r2?period=120s").routePolicy(policy).log("r2 doing work")

Both routes must start only if the node is master



See 
[discussion|http://camel.465427.n5.nabble.com/Master-Route-Policy-for-multiple-routes-td5830391.html[]|http://camel.465427.n5.nabble.com/Master-Route-Policy-for-multiple-routes-td5830391.html]

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to