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

Claus Ibsen resolved CAMEL-15957.
---------------------------------
    Resolution: Won't Fix

You cannot rely on MDC in a reactive world, and also since you set them 
manually / directly.

Camel has limited support for MDC where it stores some of its own information

> Exception in async producer and MDC context
> -------------------------------------------
>
>                 Key: CAMEL-15957
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15957
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: Shmakov Alexey
>            Priority: Minor
>         Attachments: camel-async-test.zip
>
>
> If an exception occurs in the asynchronous producer, the MDC context is not 
> refreshed and MDC logging breaks. This situation occurs when the onException 
> block is processed in another thread, for example, if the external 
> http-server returned an error code when connecting through a ahc/cxf 
> component or a read timeout occurred



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

Reply via email to