Camel supports the Competing Consumers from the EIP patterns using a few different components.
You can use the following components to implement competing consumers:-
To enable Competing Consumers with JMS you just need to set the concurrentConsumers property on the Camel Component: JMS endpoint.
Or in Spring DSL:
<route> <from uri="jms:MyQueue?concurrentConsumers=5"/> <to uri="bean:someBean"/> </route>