Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13242

Support multiple routes in ZooKeeper Master Route Policy

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.22.0
    • Future
    • camel-zookeeper
    • None
    • Unknown

    Description

      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

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dennisholu Dennis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: