This content has been marked as final. Show 2 replies
You can use concurrentConsumers option on the endpoint. Then there will be multiple concurrent threads which will consume message, and process the messages in parallel.
from("activemq:queue:" + queue + "?concurrentConsumers=10")
Thanks a lot for your quick and helpful response.