camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfredrich <>
Subject Re: Restlet Component Fault Handling
Date Fri, 27 Feb 2009 15:48:23 GMT

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.   I simply created a new version of
populateRestletResponseFromExchange() which checks the fault before calling
populateRestletResponseFromMessage(Message, Response) --which was refactored
from the previous populateRestletResponseFromExchange(Exchange, Response).

View this message in context:
Sent from the Camel - Users (activemq) mailing list archive at

View raw message