[ https://issues.apache.org/jira/browse/CAMEL-3887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea resolved CAMEL-3887. ------------------------------------ Resolution: Fixed Fix Version/s: 2.8.0 Resolved in r1095514. Thanks to Dan Kulp for the patch. Your feedback on improving camel-cxf is highly appreciated. > 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 > Fix For: 2.8.0 > > 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