[ https://issues.apache.org/jira/browse/CAMEL-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670081#comment-13670081 ]
Claus Ibsen commented on CAMEL-3870: ------------------------------------ See also http://stackoverflow.com/questions/16735282/is-it-possible-to-use-both-routecontextref-and-dataformats-elements-in-a-camelco We should also add support for <dataFormats> etc > 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 > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira