You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/04/20 19:27:06 UTC

[jira] [Updated] (CAMEL-3887) cxf camel transport converts to byte[] unnecessarily

     [ 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