camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: onException for multiple camelContexts
Date Fri, 11 Jul 2014 09:53:27 GMT

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 <> 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
> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message