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

camel-core - Throttler EIP to support max inflight messages without time period

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • camel-core, eip
    • None
    • Unknown

    Description

      The throttler EIP
      https://camel.apache.org/components/latest/eips/throttle-eip.html

      Is throttling based on a time window, eg max 100 messages per 10 seconds.
      So if you have 99 messages in the 1st send, and 1 message in the 3d second, and then it would be idle for 7 seconds, before a new window open up.

      Instead it would be good to throttle on "concurrent requests", eg inflight count.

      So you can say max 10 inflight messsages (no time period).

      Attachments

        Issue Links

          Activity

            People

              jono Jono Morris
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: