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

Support multiple routes in ZooKeeper Master Route Policy

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.22.0
    • Fix Version/s: Future
    • Component/s: camel-zookeeper
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated: