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 2025/07/30 13:00:00 UTC

[jira] [Assigned] (CAMEL-22295) camel-core - Consumer can setup MDC with route id during internal processing

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

Claus Ibsen reassigned CAMEL-22295:
-----------------------------------

    Assignee: Claus Ibsen

> camel-core - Consumer can setup MDC with route id during internal processing
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-22295
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22295
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.x
>
>
> Since the consumer does some internal work before creating an Exchange to be routed by Camel. Then we can for some consumer if MDC logging is enabled, then setup the thread with the route id during this work, then logging can show that.
> This will not be possible by all consumers, but we can do it for some base consumers like scheduled based. 
> For example inside camel-jms, then its special logic. But the thread the consumer uses is very likely to be only used for that and hence the route id would always be the same.
>  



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