You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dominik Amon (JIRA)" <ji...@apache.org> on 2013/12/11 17:37:06 UTC

[jira] [Updated] (CAMEL-7061) DefaultCxfRsBinding only uses Exchange.getOut()

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

Dominik Amon updated CAMEL-7061:
--------------------------------

    Attachment: DefaultCxfRsBinding.patch

The patch implements the same handling as in {{org.apache.camel.component.cxf.DefaultCxfBinding}} for propulating the response in the {{org.apache.camel.component.cxf.jaxrs.DefaultCxfRsBinding}}

> DefaultCxfRsBinding only uses Exchange.getOut()
> -----------------------------------------------
>
>                 Key: CAMEL-7061
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7061
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.12.2
>            Reporter: Dominik Amon
>         Attachments: DefaultCxfRsBinding.patch
>
>
> When {{org.apache.camel.component.cxf.jaxrs.DefaultCxfRsBinding}} is populating the response from an {{org.apache.camel.Exchange}} then only the {{exchange.getOut().getBody()}} is used.
> In the SOAP case {{org.apache.camel.component.cxf.DefaultCxfBinding}} the response is either uses  {{exchange.getOut().getBody()}} or {{exchange.getIn().getBody()}}
> See also [Discussion|http://camel.465427.n5.nabble.com/DefaultCxfRsBinding-only-uses-Exchange-getOut-td5744605.html] for more details.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)