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
Fix For: 2.9.0
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