Hi Yes if you use java code, then you can have a abstract base class where you setup the onException etc. And then extend this class, and call its super.configure() method.
On Tue, Jul 8, 2014 at 7:15 PM, Venkatesh <lbvenkat...@gmail.com> wrote: > Hi, > I have multiple camelContexts - each has multiple routes - we kind of > segregated the routes into camel contexts by domain. Right now, the need is > to have a consistent exception strategy across all the camel contexts; it is > like, having a set of onException clauses that is applicable for all the > camel contexts; having the same set of onException clauses in each camel > context will bring the maintenance problems; so I want to have the set of > onException clauses written once but apply them in all the camel contexts; > > It looks like, there is an option if I use Java DSL as mentioned in > http://camel.465427.n5.nabble.com/onException-Global-declaration-at-CamelHttpTransportServlet-and-bestpractices-td5732428.html#a5732491 > but I am using blueprint. > > is there a way to write onException clause in one place but use them in more > than one camel contexts? > > Thanks > Venkatesh Laguduva > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/onException-for-multiple-camelContexts-tp5753559.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/