camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kris De Schutter" <>
Subject reusable onexceptions
Date Fri, 15 Apr 2011 07:29:47 GMT
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,


View raw message