You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/06/03 06:17:47 UTC

[jira] [Resolved] (CAMEL-4039) camel-cxf - REST - Add support for using the ResponseBuilder / Response as message body for responses

     [ https://issues.apache.org/jira/browse/CAMEL-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-4039.
---------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 2.9.0)
         Assignee: Willem Jiang

Current camel-cxfrs already supports for using the ResponseBuilder/Response as the message body for responses.
Just added a simple test to show it.

> camel-cxf - REST - Add support for using the ResponseBuilder / Response as message body for responses
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4039
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4039
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>
> When using CXF REST you may as an end user want to use the REST API for building responses using ResponseBuilder / Response API. We should add support for that in camel-cxf, so it detects the message body is a Response and use that directly.
> I recently added such support in camel-restlet.
> See nabble as well:
> http://camel.465427.n5.nabble.com/CXFRS-custom-response-tp4431343p4431343.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira