Camel
  1. Camel
  2. CAMEL-6334

camel-quartz - Add JMX MBean for CronScheduledRoutePolicy so people can change it at runtime

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.11.0
    • Fix Version/s: Future
    • Component/s: camel-quartz, jmx
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See
      http://stackoverflow.com/questions/16388798/camel-change-route-policy-at-runtime-via-jmx

      We should enlist the route policies as JMX MBeans so people can adjust it at runtime. Though there may be a bit tricker to adjust as we would need to tell quartz about the change so it can re-trigger accordingly.

      Also we should look into if quartz has any JMX stats it can expose so we can make this out of the box / easier to enable. It would be nice to see some quartz stats of its scheduler etc.

        Activity

        Hide
        Zemian Deng added a comment -

        Quartz does expose an JMX MBean on their scheduler stats. User need to add the following to their quartz config properties:

        org.quartz.scheduler.jmx.export = true
        
        Show
        Zemian Deng added a comment - Quartz does expose an JMX MBean on their scheduler stats. User need to add the following to their quartz config properties: org.quartz.scheduler.jmx.export = true

          People

          • Assignee:
            Unassigned
            Reporter:
            Claus Ibsen
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development