Sergey Beryozkin created CAMEL-7408:
---------------------------------------

             Summary: 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
(v6.2#6252)

Reply via email to