Hi Babak,

your solution works fine but you removed parallel processing which is
important for me :)
Anyway I found solution for my original problem:

1. before processing is started I'm storing current exchange (from a main
thread) as a property (myEx). Then myEx property is propagated to splitter
threads.
2. after aggregation is ended (in splitter thread)  I'm retrieving 'myEx'
exchange from properties and set new property on it with aggregation
results (myRes).
3. after whole processing (when I'm in the main thread again) I'm
retrieving myRes property from the exchange and set it as a body :)

Thanks guys for all your help,
Alek




--
View this message in context: 
http://camel.465427.n5.nabble.com/Splitter-aggregator-dynamic-timeout-tp5717166p5717486.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to