Re: Restlet Component Fault Handling

2009-02-27 Thread tfredrich
A proposed change to DefaultRestletBinding is attached. This patch worked great for me, enabling me to set the fault header and exception (without having to also set headers on the out message), and get the expected result in response.

Re: Restlet Component Fault Handling

2009-02-27 Thread William Tam
Hi Todd, I submitted a fix which is along the same line as your proposed change. I believe it should work in your case. Let me know it goes. Thanks. Cheers, William On Fri, Feb 27, 2009 at 10:48 AM, tfredrich tfredr...@yahoo.com wrote: A proposed change to DefaultRestletBinding is

Re: Restlet Component Fault Handling

2009-02-26 Thread William Tam
I submitted a fix. Restlet component now checks for Exchange.isFailed() and looks at Fault message to prepare a response when isFailed() is true. It is consistent with HTTP component. https://issues.apache.org/activemq/browse/CAMEL-1400 On Thu, Feb 26, 2009 at 10:55 AM, William Tam

Re: Restlet Component Fault Handling

2009-02-25 Thread Claus Ibsen
On Tue, Feb 24, 2009 at 1:21 AM, tfredrich tfredr...@yahoo.com wrote: I'm utilizing the Restlet component (via a Trunk build) and am interested in better understanding error handling behavior via the exchange fault message. BTW, I appreciate your work on this component!  Good stuff, indeed.