camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: @ExchangedScoped
Date Tue, 17 Jul 2012 03:17:42 GMT
 Can you store the variable as an exchange property?
Then you will not be bothered by reading it from different thread.

 Tue Jul 17 03:12:40 2012, Romain Manni-Bucau wrote:
> Hi,
>
> updated https://github.com/rmannibucau/camel-cdi-extension to create an
> ExchangeScoped but that's a bit hard to really get it on the camel side,
>
> any help?
>
> the main issue to make it working in async mode, currently i use a
> threadlocal but that's far to be perfect.
>
> - Romain
>



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang


Mime
View raw message