Thank you for your respond. I am not sure if I can use concurrent consumer option since I have to keep the order of messgaes for the buckets.
I like your idea to have a route that calculates the Group header but doing that is it not going to be the bottleneck for the processing. I have to run at least 1000 messages per second trough camel. How can you grab 100 messages at the time from JMS in a route? <route> <from uri="jms:queue:abc?GrabMutlileMessages=100> ----- Alireza Salemi -- View this message in context: http://camel.465427.n5.nabble.com/Incoming-message-from-a-JMS-queue-need-to-be-processed-in-parallel-but-keep-the-ordering-of-messages-tp5735406p5735682.html Sent from the Camel - Users mailing list archive at Nabble.com.