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 2016/01/09 15:36:39 UTC
[jira] [Resolved] (CAMEL-8402) CxfPayloadConverter modifies source
CxfPayload with Stream
[ https://issues.apache.org/jira/browse/CAMEL-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-8402.
--------------------------------
Resolution: Implemented
Assignee: Claus Ibsen
Fix Version/s: 2.16.0
There has been other patches / work on CXF that has resolved and change these type coverters.
> CxfPayloadConverter modifies source CxfPayload with Stream
> ----------------------------------------------------------
>
> Key: CAMEL-8402
> URL: https://issues.apache.org/jira/browse/CAMEL-8402
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.14.1
> Reporter: Stephan Siano
> Assignee: Claus Ibsen
> Fix For: 2.16.0
>
> Attachments: 0001-CAMEL-8401-CXFPayloadConverter-modifies-source-CXFPa.patch
>
>
> The CxfPayloadConverter has a mechanism that replaces the first bodySource of the source CxfMessage with a newly created DOMSource.
> This mechanism does not work if the conversion result is a Source itself (e.g. a SAXSource). In this case the bodySource is first replaced by the DOMSource and afterwards replaced again by the conversion result (the SAXSource) If that one is read, the data is gone.
> While the first replacement of the source is questionable, the second replacement is plain wrong.
> The attached patch will just remove the code that does the second replacement.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)