camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Exchange.isFailed() doesn't work in camel 1.3
Date Fri, 30 May 2008 12:09:34 GMT
Could you fill a JIRA[1] and attach a test case for it ?
We could do a quick fix with that JIRA :)

[1]https://issues.apache.org/activemq/browse/CAMEL

Willem

Hamlet84 wrote:
> Hi to everything. I noticed there is a problem with Camel 1.3 
> Writing 
>
> this.from (address )
> .tryBlock ()                 
> .process (test New () )                 
> .to (xxxx )             
> .handle (Exception.class )                 
> .process (new FaultProcessor () )
>
> If the test Processor raises an exception, comes recalled correctly the
> FaultProcessor, but if in his method process I write 
> "Exchange failed? " + exchange.isFailed () 
> the result is FALSE. It's a bug? Using camel 1.2 with the same code the
> result is true 
>
> -----
>
>
> Regards
>
> Donatello Santoro
>   


Mime
View raw message