maxInflightExchanges For ThrottlingInflightRoutePolicy Does Not Work As Expected

Solution Verified - Updated -

Issue

Even with the following settings, more than 3 messages were processed in the camel route at the same time.

<bean class="org.apache.camel.impl.ThrottlingInflightRoutePolicy" id="throttlePolicy">
  <property name="maxInflightExchanges" value="3"/>
</bean>
<camelContext id="sample" xmlns="http://camel.apache.org/schema/blueprint">
        <route id="_route1" routePolicyRef="throttlePolicy">

Environment

  • Red Hat JBoss Fuse
    • 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content