You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 08:51:00 UTC
[jira] [Resolved] (CAMEL-7408) Customize the way CXRS bindings set responses
[ https://issues.apache.org/jira/browse/CAMEL-7408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-7408.
--------------------------------
Resolution: Abandoned
> Customize the way CXRS bindings set responses
> ---------------------------------------------
>
> Key: CAMEL-7408
> URL: https://issues.apache.org/jira/browse/CAMEL-7408
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Sergey Beryozkin
> Priority: Minor
>
> CXFRS producer sets Response on the exchange which is not understood by the follow up Camel data reader components.
> Proposal: introduce an option called "unwrapResponse", it will affect the process as follows:
> - If it is a CXF WebClient call then we will have Response.readEntity(InputStream.class) set on the exchange.
> - If it is a CXF proxy call then we will have Response.readEntity(method.getReturnType()) set on the exchange.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)