[ https://issues.apache.org/jira/browse/CAMEL-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Ribeiro updated CAMEL-4020: ------------------------------------ Attachment: Exchange.patch DefaultRestletBinding.patch > Support Overriding of the HTTP Response Message > ----------------------------------------------- > > Key: CAMEL-4020 > URL: https://issues.apache.org/jira/browse/CAMEL-4020 > Project: Camel > Issue Type: Improvement > Components: camel-restlet > Affects Versions: 2.7.1 > Environment: All Camel environments. > Reporter: Fernando Ribeiro > Priority: Minor > Fix For: 2.8.0 > > Attachments: DefaultRestletBinding.patch, Exchange.patch > > > When processing a fault from a RESTful web service exposed by using the > camel-restlet component, it is desirable to retrieve the error message > straight from the HTTP response message, rather than from the body. > An exception handler must be able to store the exception message in a header > in the exchange that is then transformed into the HTTP response message by > the component. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira