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