[PR] Threadsafe RequestScopedThreadContextListener (tomee)

ammannmi (via GitHub) <[email protected]>
Newsgroups gmane.comp.java.openejb.devel
Message-ID <[email protected]>
ammannmi opened a new pull request, #1996:
URL: https://github.com/apache/tomee/pull/1996

   Storing the DestroyContext in the ThreadContext itself is not threadsafe if the context is propagated to another thread (this is done in the ApplicationThreadContextProvider). This can occure in ManagedExecutors. Dependant on the timing the main thread could remove the RequestScope unfortunally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.