[ https://issues.apache.org/jira/browse/CAMEL-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044809#comment-13044809 ]
Claus Ibsen commented on CAMEL-3989: ------------------------------------ I cannot reproduce this issue with the source code on trunk. Hadrian do you have an example that fails? > 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: Hadrian Zbarcea > 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