You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Fernando Ribeiro (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/01/02 15:32:30 UTC

[jira] [Issue Comment Edited] (CAMEL-4020) Support Overriding of the HTTP Response Message

    [ https://issues.apache.org/jira/browse/CAMEL-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158959#comment-13158959 ] 

Fernando Ribeiro edited comment on CAMEL-4020 at 1/2/12 2:32 PM:
-----------------------------------------------------------------

Restlet 2.0.8, used in Camel 2.8, don't actually support changing the response message.
                
      was (Author: fribeiro):
    Restlet 2.0.8, used in Camel 2.8, don't actually support changing the response message, didn't try yet with newer versions, need to investigate it further.
                  
> 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.10
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira