James Netherton created CAMEL-19158:
---------------------------------------

             Summary: 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
            Reporter: James Netherton
            Assignee: James Netherton


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)

Reply via email to