Akihito Nakano created CAMEL-13959:
--------------------------------------

             Summary: onException does not work
                 Key: CAMEL-13959
                 URL: https://issues.apache.org/jira/browse/CAMEL-13959
             Project: Camel
          Issue Type: Bug
    Affects Versions: 3.0.0.M4, 2.24.1
         Environment: * Java8, 11
 * camel-2.24.1
 * camel-3.0.0.M4

 
            Reporter: Akihito Nakano


I'm facing the specific case that onException does not work.


Here is a sample application that reproduce the issue.
https://github.com/ackintosh/on-exception-continue-test

The "onException" definition show below does not work. I'm expecting that to 
ignore and continue exceptions in the route but I got an exception.
https://github.com/ackintosh/on-exception-continue-test/blob/master/src/main/resources/order-error-handler.xml#L17-L21

Quick note:
If you comment out 
[this|[https://github.com/ackintosh/on-exception-continue-test/blob/master/src/main/resources/order.xml#L22-L27]]
 and enable 
[this|[https://github.com/ackintosh/on-exception-continue-test/blob/master/src/main/resources/order.xml#L29-L35]]
 instead, the "onException" definition will work.

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to