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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.