[
https://issues.jboss.org/browse/AS7-5258?page=com.atlassian.jira.plugin.s...
]
David Lloyd commented on AS7-5258:
----------------------------------
This should be doable for in-VM requests at least, but it will require an interceptor to
do the copy using the logmanager's MDC API. NDC should also be copied. In both
cases, they should be cleared after the invocation completes to avoid polluting the thread
pool.
MDC is lost during @Asynchronous EJB calls
------------------------------------------
Key: AS7-5258
URL:
https://issues.jboss.org/browse/AS7-5258
Project: Application Server 7
Issue Type: Feature Request
Components: Logging
Affects Versions: 7.1.2.Final (EAP)
Reporter: Patrick Ruckstuhl
Assignee: James Perkins
If I set a variable into the MDC, this is propagated fine through to synchronous EJB
calls, but is lost in asynchronous EJB calls.
Should the MDC not be copied over to the thread retrieved from the thread pool?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira