camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <james.strac...@gmail.com>
Subject Re: [DISCUSS] Faults and Exceptions in Camel
Date Fri, 10 Jul 2009 11:16:39 GMT
2009/7/9 Hadrian Zbarcea <hzbarcea@gmail.com>:
> Ah, your proposal is a variation of the first one, where isFault and
> setFault() are Message methods, not Exchange.  I am fine with that too.  Not
> sure about the boolean argument for setFault, but that's a detail.  Why
> would somebody invoke:
> message.setFault(false);

Because you cloned a fault message, wanted to preserve the headers,
but wanted to clear the fault flag?


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message