[ https://issues.apache.org/activemq/browse/CAMEL-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62862#action_62862 ]
Claus Ibsen commented on CAMEL-3281: ------------------------------------ The issue is that if you do it after the onException is not being used and end user may think it was used. Hence we should fail. > RouteBuilder - Let if fail if end user is configuring onException etc after > routes > ---------------------------------------------------------------------------------- > > Key: CAMEL-3281 > URL: https://issues.apache.org/activemq/browse/CAMEL-3281 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.4.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.6.0 > > > All such cross cutting concerns must be defined before routes. > We should throw an exception if end user has configured them after routes, > which is currently not supported in the DSL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.