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.  
http://www.nabble.com/file/p22248469/DefaultRestletBinding.java
DefaultRestletBinding.java   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).

--Todd
-- 
View this message in context: 
http://www.nabble.com/Restlet-Component-Fault-Handling-tp22173327p22248469.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to