[
http://jira.jboss.com/jira/browse/JBESB-760?page=comments#action_12370267 ]
Kevin Conner commented on JBESB-760:
------------------------------------
There is an additional commit in revision 13810 to remove duplicate resource cleanup. The
code is functionally the same.
Rewrite lifecycle identity association
--------------------------------------
Key: JBESB-760
URL:
http://jira.jboss.com/jira/browse/JBESB-760
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Configuration
Affects Versions: 4.2 Milestone Release 3
Reporter: Kevin Conner
Assigned To: Kevin Conner
Fix For: 4.2
At present the lifecycle identiy is stored in a thread local. Prior to the recent
asynchronous mechanism changes this worked as every thread inherited the context when
created.
Some modifications have recently been made to explicitly initialise the association but
this is likely to be broken in the future.
A better solution will be to associate the lifecycle identity with the thread context
classloader as every async mechanism should be initialising this correctly. This will
then 'just work' provided that the TCC is initialised correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira