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 2022/09/03 12:17:00 UTC
[jira] [Resolved] (CAMEL-17889) camel.routeId removed from MDCs
[ https://issues.apache.org/jira/browse/CAMEL-17889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-17889.
---------------------------------
Resolution: Duplicate
> camel.routeId removed from MDCs
> -------------------------------
>
> Key: CAMEL-17889
> URL: https://issues.apache.org/jira/browse/CAMEL-17889
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.14.2
> Reporter: Roberto Rizzo
> Priority: Minor
>
> If in a route I throw an exception, when Camel processes the onException camel.routeId is no longer present in the MDCs.
>
> <route id="testMDC">
> <from uri="timer://testMDCTimer?period=10000" />
> <log loggingLevel="INFO" message="BeforeException" />
> <throwException message="Test Exception" exceptionType="java.lang.IllegalArgumentException"/>
> <onException>
> <exception>java.lang.Exception</exception>
> <handled><constant>true</constant></handled>
> <log loggingLevel="INFO" message="onException" />
> </onException>
> </route>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)