Hi Claus, Yes, I'm talking about <routeContext>.
I created the JIRA ticket. You can find it here: https://issues.apache.org/jira/browse/CAMEL-3870 Thanks for considering this! Kind regards, Kris De Schutter -----Original Message----- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: vrijdag 15 april 2011 11:47 To: users@camel.apache.org Subject: Re: reusable onexceptions Hi Do you mean the <routeContext> ? Yeah we should enhance it so you can define interceptors, on exception and the likes as well. Fell free to create a JIRA Ticket. On Fri, Apr 15, 2011 at 9:29 AM, Kris De Schutter <kris.deschut...@certipost.com> wrote: > Hello all, > > New subscriber here, so if I'm asking a silly question don't hesitate to > let me know. I did a search through the docs, but I didn't really find > my answer there. > > The question is simple: I can reuse route definitions by putting them in > a route context and then referring to them. Can I do something similar > 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. > > Thanks in advance, > > Kind regards, > > Kris > > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/