[
https://issues.apache.org/jira/browse/CAMEL-15957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250326#comment-17250326
]
Claus Ibsen commented on CAMEL-15957:
-------------------------------------
MDC is not a very good practice, especially the more reactive systems become.
> 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
>
> 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)