camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veniamin Goldin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6928) onException is not considered for programatically added routes
Date Tue, 05 Nov 2013 13:03:17 GMT

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

Veniamin Goldin updated CAMEL-6928:
-----------------------------------

    Description: 
The onException is not working for the route added to the CamelContext as RouteDefinition,
programatically as described in http://camel.apache.org/loading-routes-from-xml-files.html

The exception is being propagated to the error handler.  The same applies for doTry on the
route level and onException on the CamelContext level.

*Update:* doTry does not work if there is an "onException" defined in the route.

See test project attached.

  was:
The onException is not working for the route added to the CamelContext as RouteDefinition,
programatically as described in http://camel.apache.org/loading-routes-from-xml-files.html

The exception is being propagated to the error handler.  The same applies for doTry on the
route level and onException on the CamelContext level.

See test project attached.


> onException is not considered for programatically added routes 
> ---------------------------------------------------------------
>
>                 Key: CAMEL-6928
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6928
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.0, 2.12.1
>            Reporter: Veniamin Goldin
>         Attachments: test-exception-handling.zip
>
>
> The onException is not working for the route added to the CamelContext as RouteDefinition,
programatically as described in http://camel.apache.org/loading-routes-from-xml-files.html
> The exception is being propagated to the error handler.  The same applies for doTry on
the route level and onException on the CamelContext level.
> *Update:* doTry does not work if there is an "onException" defined in the route.
> See test project attached.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message