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

Throttler EIP - Add JMX attribute to know if hit limit currently (eg its throttling state)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.12.2, 2.13.0
    • camel-core, eip, jmx
    • None
    • Novice

    Description

      See SO
      http://stackoverflow.com/questions/18446689/how-to-get-the-information-that-throttling-limit-has-been-reached

      We would need to extend the org.apache.camel.processor.Throttler so it keeps state whether its holding back exchanges due hit limit, or not. Wonder what a name should be. It could be a simple boolean to indicate that. And/or a counter that counts the number of exchanges being hold back. Then ppl can have a graph with the counter.

      This data should be exposed in JMX with org.apache.camel.api.management.mbean.ManagedThrottlerMBean

      Attachments

        1. CAMEL-6670.patch
          21 kB
          Christian Posta

        Issue Links

          Activity

            People

              ceposta Christian Posta
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: