You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hack Kampbjørn (Jira)" <ji...@apache.org> on 2021/10/26 15:08:00 UTC

[jira] [Created] (CAMEL-17134) Camel no longer clears MDC after sending a message

Hack Kampbjørn created CAMEL-17134:
--------------------------------------

             Summary: Camel no longer clears MDC after sending a message
                 Key: CAMEL-17134
                 URL: https://issues.apache.org/jira/browse/CAMEL-17134
             Project: Camel
          Issue Type: Bug
          Components: camel-core-engine
    Affects Versions: 3.12.0, 3.9.0
            Reporter: Hack Kampbjørn


With the changes in 3.9.0 to unit of work, MDCUnitOfWork no longer clears MDC after an exchange is done.

h3. steps to reproduce
Enable MDC logging and send a message

h3. actual
After the exchange is completed, MDC still contains camel details like camel correlation ID

h3. expected
That MDC is cleared after an exchange is completed

See https://bitbucket.org/worldticket/camel-mdc-logging/src/trunk/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)