Claus Ibsen created CAMEL-16099:
-----------------------------------

             Summary: camel-core - Throttler EIP to support max inflight 
messages without time period
                 Key: CAMEL-16099
                 URL: https://issues.apache.org/jira/browse/CAMEL-16099
             Project: Camel
          Issue Type: New Feature
          Components: camel-core, eip
            Reporter: Claus Ibsen
             Fix For: 3.x


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).




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to