2 Replies Latest reply on Jul 27, 2012 3:05 AM by Patrick Ruckstuhl

    Correlation id accross @Asynchronous EJB calls

    Patrick Ruckstuhl Newbie

      I would like to have a constistent correlation id accross all calls from one session.

       

      The idea I had was to use the MDC and this seems to work fine for synchronous calls but not for asynchronous calls. The MDC seems to get lost when doing an asynchronous EJB call.

       

      Is there a way to make this work or maybe a better approach to do this?

       

      I'd rather not have to manually modfiy each asynchronous call to copy over the MDC information.