[jboss-jira] [JBoss JIRA] (AS7-5258) MDC is lost during @Asynchronous EJB calls

David Lloyd (JIRA) jira-events at lists.jboss.org
Fri Jul 27 13:08:07 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708430#comment-12708430 ] 

David Lloyd commented on AS7-5258:
----------------------------------

We have an internal interceptor concept that we use to do things like set up transactions and security context.  This is what I was referring to, not EE user interceptors.  Sorry, I should have been more clear.
                
> 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

        


More information about the jboss-jira mailing list