problem with exchange.getProperty in multi threaded environment

2014-10-04 Thread sara
Hi I put in 3 objects with unique UUIds for 3 different threads in the camel exchange using exchange.setProperty(string,obj). When i retrieve the objects using exchange.getProperty('key') method i am seeing the objects are returned with one of them duplicated.So i get 2 Uuids as same.It happens sp

Re: problem with exchange.getProperty in multi threaded environment

2014-10-05 Thread Charles Moulliard
Hi Sara, Can you elaborate please a little bit more what you are doing ? What is your camel route definition, ... ? Regards, On Sat, Oct 4, 2014 at 6:30 PM, sara wrote: > Hi > > I put in 3 objects with unique UUIds for 3 different threads in the camel > exchange using exchange.setProperty(str

Re: problem with exchange.getProperty in multi threaded environment

2014-10-06 Thread sara
Hi Charles My route is pretty simple. So what the SaveProcessor does is it takes hibernate DataObject from the camel exchange that we want to save to the DB. Now say there are 3 different threads sending 3 different DO objects (each has a uniqu