A JMS queue is asynchronous by design, so it makes perfect sense insertion order isn't maintained since ordering isn't guaranteed.
On Thu, Dec 12, 2013 at 11:11 AM, Dayakar <daya.kond...@gmail.com> wrote: > Hi, > > I have some messages in the JMS Queue and if i fetch the message from Queue > by using > consumerTemplate.receiveBodyNoWait("jms:queue:destinationEndPoint", > String.class); > > By i observed that consumerTemplate is not maintaining insertion order. > > Please let me know how can i get insertion order by using consumerTemplate > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ConsumerTemplate-is-not-fetching-data-in-insertion-Order-tp5744663.html > Sent from the Camel - Users mailing list archive at Nabble.com. >