You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/10/08 11:18:40 UTC

[jira] Created: (CAMEL-3208) CXF-RS Producer response body is ResponseImpl which is clumsy to work with

CXF-RS Producer response body is ResponseImpl which is clumsy to work with
--------------------------------------------------------------------------

                 Key: CAMEL-3208
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3208
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-cxf
    Affects Versions: 2.4.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.5.0


When using CXF-RS as a producer to invoke a REST service, you will get the {{ResponseImpl}} as the OUT message body.

If you want to convert that to a Java Object it represents (JAXB or JSON binding) then you have to do that manually.

Instead CXF should offer fallback converters so you can easily convert to the desired type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-3208) CXF-RS Producer response body is ResponseImpl which is clumsy to work with

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3208.
--------------------------------

    Resolution: Fixed

trunk: 1005785.

> CXF-RS Producer response body is ResponseImpl which is clumsy to work with
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-3208
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3208
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>
> When using CXF-RS as a producer to invoke a REST service, you will get the {{ResponseImpl}} as the OUT message body.
> If you want to convert that to a Java Object it represents (JAXB or JSON binding) then you have to do that manually.
> Instead CXF should offer fallback converters so you can easily convert to the desired type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.