camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wing-tung Leung <>
Subject Re: Enter multiple onException clauses in a single route?
Date Mon, 08 Aug 2011 13:46:48 GMT
On Mon, Aug 8, 2011 at 3:27 PM, Claus Ibsen <> wrote:
> On Mon, Aug 8, 2011 at 3:13 PM, wing-tung Leung
> <> wrote:
>> I have a route where I perform some XSD validation first, and after
>> that a HTTP download. The XSD validation is "optional", meaning that
>> failure is simply logged but should not block the rest of the flow,
>> while HTTP download exceptions should abort.


>> Initially, I assumed that after the "silent" handling of
>> ValidationException, the second exception (HTTP)  handler would kick
>> in, but it's never called. Is this because only 1 "onException"
>> handler can be called per route?


> What version of Camel are you using?

Well, the not so new version 2.6.0, because we are currently still
stuck to JDK 1.5.  :-(

I'm willing to try with a more recent version, but this involves a big
bunch of local changes, and prefer to avoid it if not necessary ..

View raw message