camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: reusable onexceptions
Date Fri, 15 Apr 2011 09:47:12 GMT

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
<> 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
CamelOne 2011:
Twitter: davsclaus
Author of Camel in Action:

View raw message