You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 11:28:00 UTC

[jira] [Updated] (CAMEL-13242) Support multiple routes in ZooKeeper Master Route Policy

     [ https://issues.apache.org/jira/browse/CAMEL-13242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-13242:
--------------------------------
    Priority: Minor  (was: Major)

> Support multiple routes in ZooKeeper Master Route Policy
> --------------------------------------------------------
>
>                 Key: CAMEL-13242
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13242
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-zookeeper
>    Affects Versions: 2.22.0
>            Reporter: Dennis
>            Priority: Minor
>             Fix For: Future
>
>
> In camel-zookeeper-master 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
(v8.20.10#820010)