camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem.Jiang" <>
Subject Re: Best Practice fro Thread Safe processor
Date Fri, 08 Apr 2011 05:24:44 GMT
As Camel has a async process module, you can't know if the processors are
called in a single thread.
If you are using the thread local to store the states, it may be massed up.

My suggestion is store the states information into the Exchange,  and Camel
will make sure it is processed rightly.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message