You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/12/17 13:01:00 UTC

[jira] [Updated] (CAMEL-17722) MDC - custom properties in MDC Unit Of Work are not cleared at the end of route

     [ https://issues.apache.org/jira/browse/CAMEL-17722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-17722:
--------------------------------
    Component/s: camel-core

> MDC - custom properties in MDC Unit Of Work are not cleared at the end of route
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-17722
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17722
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 3.11.5, 3.14.1
>            Reporter: Vladimir Dobos
>            Priority: Minor
>
> Custom properties set to MDC and matched through "mdc-logging-keys-pattern" configuration property to be stored by MDCUnitOfWork#MDCCallback are not cleared from MDC between two runs of the route, persisting in thread for next route execution.
>  
> This interacts in nasty ways with CAMEL-17721, making custom properties in MDC unusable
>  
> Tested on single-threaded route with no async processing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)