Camel concurrentConsumers does not work in Fuse

Solution Unverified - Updated -

Issue

I'm using the concurrentConsumers option on a JMS consumer:

concurrentConsumers=10&asyncConsumer=true

This works perfectly as I can see in the console with the different threads being used for processing.
However when I use the exact same thing in a route that is dynamically loaded and started (my route is an XML file that I add to the context and start it) only one thread is used. Any clue on what is wrong ?

Environment

  • Red Hat JBoss Fuse
    • 6.1.x

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