[ https://issues.apache.org/jira/browse/CAMEL-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961128#comment-16961128 ]
Claus Ibsen commented on CAMEL-3870: ------------------------------------ This is tied to camel-spring for XML which is a bit heavy. So if/when we look into this, then lets see if we can get a model of this that is not tied to spring xml so it can be loaded via camel-main as well. > Add support for setting onException, interceptors etc in routeContext > (reusable onexceptions) > --------------------------------------------------------------------------------------------- > > Key: CAMEL-3870 > URL: https://issues.apache.org/jira/browse/CAMEL-3870 > Project: Camel > Issue Type: Improvement > Components: camel-core, camel-spring > Reporter: Kris De Schutter > Priority: Major > Fix For: 3.0.0 > > > Cfr. http://camel.465427.n5.nabble.com/reusable-onexceptions-td4304909.html > I can reuse route definitions by putting them in a <routeContext> and then > referring to them. I would like to do the same with <onException> definitions. > The context I'm working in is one where we define routes by composing > reusable route definitions. This works well, but I find that we have to > duplicate the more general <onException> handlers. I was hoping that I could > reuse their definitions as well. -- This message was sent by Atlassian Jira (v8.3.4#803005)