[ https://issues.apache.org/jira/browse/CAMEL-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-3989. -------------------------------- Resolution: Fixed Assignee: Claus Ibsen (was: Hadrian Zbarcea) Is fixed with those recent error handler fixes/improvements. > onException definition ignored when using route/@errorHandlerRef with the xml > dsl > --------------------------------------------------------------------------------- > > Key: CAMEL-3989 > URL: https://issues.apache.org/jira/browse/CAMEL-3989 > Project: Camel > Issue Type: Bug > Components: camel-spring > Affects Versions: 2.7.1 > Reporter: Hadrian Zbarcea > Assignee: Claus Ibsen > Fix For: 2.8.0 > > > When using a route definition like below: > {code} > <camelContext xmlns="http://camel.apache.org/schema/spring"> > <onException> > <exception>org.apache.camel.MyException</exception> > <handled><constant>false</constant></handled> > </onException> > <route errorHandlerRef="errorHandler"> > <from uri="direct:start"/> > [...] > {code} > the onException definition is not propagated to the ref'd DLC and hence it > will be ignored. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira