camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donatello Santoro (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-564) Exchange.isFailed() doesn't work in camel 1.3
Date Fri, 30 May 2008 13:24:00 GMT
Exchange.isFailed() doesn't work in camel 1.3
---------------------------------------------

                 Key: CAMEL-564
                 URL: https://issues.apache.org/activemq/browse/CAMEL-564
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 1.3.0
            Reporter: Donatello Santoro
         Attachments: TestException.java

Writing

this.from (address )
.tryBlock ()                
.process (new ProcessorFail() )                
.to (xxxx )            
.handle (Exception.class )                
.process (new ProcessorAssertFail() )

If the ProcessorFail raises an exception, comes recalled correctly the ProcessorAssertFail,
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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message