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

Vladimir Dobos updated CAMEL-17722:
-----------------------------------
    Description: 
Custom properties set to MDC and matched through "mdc-logging-keys-pattern" 
configuration property to be stored by MDCUnitOfWork 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.

  was:
When using custom properties in MDC defined through "mdc-logging-keys-pattern" 
configuration property, these are not cleared from thread between two runs of 
the route, persisting in thread.

 

This interacts in nasty ways with CAMEL-17721, making custom properties in MDC 
unusable

 

Tested on single-threaded route with no async processing.


> 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
>    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 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.1#820001)

Reply via email to