You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2023/03/16 12:16:00 UTC

[jira] [Updated] (CAMEL-19158) camel-core: ThrowExceptionProcessor may silently ignore exceptions in constructing the exception object

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

James Netherton updated CAMEL-19158:
------------------------------------
    Affects Version/s: 4.0-M2
                       3.20.2
                       3.18.5

> camel-core: ThrowExceptionProcessor may silently ignore exceptions in constructing the exception object
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-19158
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19158
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core
>    Affects Versions: 3.18.5, 3.20.2, 4.0-M2
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Minor
>
> Back in Camel 3.12, a change was made to ThrowExceptionProcessor: 
> https://github.com/apache/camel/blob/fb0528706d7e8a7d0d6ba22dfb649cb31cf06bc8/core/camel-core-processor/src/main/java/org/apache/camel/processor/ThrowExceptionProcessor.java#L77-L82
> If you happen to drop into the else clause, then no exception is set on the exchange and it's confusing to users as to why no exception was thrown in their route. This is potentially a common thing on Camel Quarkus native mode if the specific exception type was not registered for reflection.



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