The problem is: how can the frameworks determine the logical end of the
thread (the point in time when the thread is returned to the pool). In our
project we use HiveMind as the IoC container. HiveMind has the feature to
mark the entry and exit of a processing thread and all thread-bound
components can register a cleanup listener that is notified when the thread
is marked as exited. Works very well for us. I don't know if Spring has
anything similar ...

Mike
-- 
View this message in context: 
http://www.nabble.com/MINA-and-ThreadLocals-used-in-other-frameworks-tf3576237.html#a10001649
Sent from the mina dev mailing list archive at Nabble.com.

Reply via email to