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

Daniel Kulp updated CAMEL-3887:
-------------------------------

    Attachment: cxf-streams.patch

> cxf camel transport converts to byte[] unnecessarily
> ----------------------------------------------------
>
>                 Key: CAMEL-3887
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3887
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Daniel Kulp
>         Attachments: cxf-streams.patch
>
>
> The CamelConduit and CamelDestination use the CXF CachedOutputStream to 
> buffer messages which results in large files being buffered on disk and such. 
>  However, it immediately calls getBytes() to get the byte[] which defeats the 
> entire purpose.
> Changing to call getInputStream works fine as Camel can convert that later if 
> needed and can help performance in some cases.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to