Hi Ruslan,
On Apr 12, 2008, at 12:02 PM, rssh wrote:
On Sat, 12 Apr 2008 11:25:29 +0200, Vincent Massol
wrote
Hi,
Sorry, may be this is not my question, but: I can imagine situation,
where
ThreadLocal approach will fail: it's when we do asynchronics call
to some
external entity with callback. In such case callback will not
receive context in
ThreadLocal. And it is possible (and very common approach) to do
this from
groovy scripts (as groovy has closures).
I don't understand what would not work... Would you mind giving some
details and use cases?
Thanks
-Vincent