camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernando Ribeiro (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4020) Support Overriding of the HTTP Response Message
Date Tue, 29 Nov 2011 00:09:40 GMT

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

Fernando Ribeiro commented on CAMEL-4020:
-----------------------------------------

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

        

Mime
View raw message