camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dayakar <>
Subject Re: ConsumerTemplate is not fetching data in insertion Order
Date Mon, 16 Dec 2013 05:17:39 GMT
Hi Claus,Thanks for your reply.I want to add some more information.We are
having a route which is configured with parallel
Processing.from("jms:queue:jobQueue" + "?" + Constants.CONCURRENT_CONSUMERS
+ "="							+ (Constants.CONCURRENT_CONSUMERS) + "&"							+
Constants.MAX_CONCURRENT_CONSUMERS + "="							+
(Constants.MAX_CONCURRENT_CONSUMERS) + "&"							+
Constants.MAX_MESSAGES_PERTASK + "="							+
(Constants.MAX_MESSAGES_PERTASK))	.transacted()	.process(new JobProcessor())
.split((body()))	.to("jms:queue:destinationQueue");Where Job Processor
prepares a list, each list contains two Messages ex: List1(m1, m2)     
List(m3,m4)     List(m5, m6)By using Split() method, we keep each message in
Outbound Queue (m1, m2, m3, m4, m5, m6).While fetching messages from
outbound queue using ConsumerTemplate
String.class);/*we are not getting insertion order (m2, m1, m4, m5, m3,
m6).*/We are using camel 2.9.2.jar and VM Broker.Please help us to resolve
this issue.Regards,Dayakar
Dayakar wrote
> Hi Claus,We are using Camel 2.9.2 version.

View this message in context:
Sent from the Camel - Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message