camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <>
Subject [jira] [Commented] (CAMEL-8402) CxfPayloadConverter modifies source CxfPayload with Stream
Date Sun, 03 Jan 2016 10:51:39 GMT


Pascal Schumacher commented on CAMEL-8402:

Any reasons why this patch was not applied yet?

> CxfPayloadConverter modifies source CxfPayload with Stream
> ----------------------------------------------------------
>                 Key: CAMEL-8402
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.14.1
>            Reporter: Stephan Siano
>         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

View raw message