Hi, Until you explicitly define the message flow as parallel (using for example Threads DSL [1]) the processing will be sequential. So you don't have to do anything to achieve what you want :) .
Laters! [1] http://camel.apache.org/async.html pon., 20.04.2015 o 19:24 użytkownik Morgan Hautman <[email protected]> napisał: > Hi, > > A Processor is synchronous. > > Regards, > Morgan > > On 20/04/2015 16:35, anish wrote: > > How can we synchronize the processes in a camel route? I want to execute > all > > the processes defined in a camel route to get executed in a single shot. > > > > In the below camel route, I want to execute the processes > > "msgConvertorSingle" and "smsBO" get executed in a single unit of work. I > > dont want a different thread executing the same when one is doing its > job. > > How can we achieve this? > > > > <camel:route id="SinglelineRouteConvertor"> > > <camel:from uri="direct:msgConvertorSingle" /> > > <camel:process ref="msgConvertorSingle" /> > > <camel:process ref="smsBO" /> > > <camel:log message="Saved Message Order is---->${body}" /> > > </camel:route> > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/synchronizing-multiple-processes-in-a-camel-route-tp5766068.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > >
