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 Thu, 09 Jul 2009 17:11:16 GMT
2009/7/9 Hadrian Zbarcea <hzbarcea@gmail.com>:
> That is *only one* of getOut() and getFault() would return a non null object
> depending on the CAMEL_FAULT header being present.
> setOut() and setFault() would (re)set the CAMEL_FAULT header as needed.  OUT
> and FAULT are mutually exclusive.

Which is why I'm thinking we just have one propery, "out" which the
message has an isFault() / setFault(boolean) property on it.


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

Open Source Integration
http://fusesource.com/

Mime
View raw message