The JMS Message ID is generated by the JMS server (not Camel) - at least that’s what I remember from the JMS Specs.
If there is a was to customize the JMS Message ID, I think you’d have to look at your JMS provider and see what they offer. > On May 19, 2016, at 4:07 AM, Adarsh_GU <adarsh.unnit...@ibsplc.com> wrote: > > Hi Guys, > Is there is any option to override *JMS message id * gernerated by > camel,while using camel jms component? > > I have simple route pushes data to queue testQueue > > /<route id="jms-sync-route"> > <camel:from uri="direct:jms" /> > <camel:to uri="jms:queue:testQueue" /> > </route>/ > > and saw message id from active mq console as follows > > /*Message ID* > ID:ICB1864-53042-1463651730680-1:1:1:1:4/ > > > so how can i changes message id value as "testcustomjmsmsgid123" > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-jms-Custom-Message-ID-tp5782779.html > Sent from the Camel - Users mailing list archive at Nabble.com.