You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2011/03/22 19:14:05 UTC

[jira] [Updated] (CXF-1100) WS-RM should stream the messages into storage instead of using byte[]

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

Aki Yoshida updated CXF-1100:
-----------------------------

    Attachment: trunk_20110321.zip

the attached file contains 
the patch file trunk_diff_20110321.txt and the description file trunk_memo_20110321.txt that summarizes the changes included in this patch.

Information
http://cxf.547215.n5.nabble.com/Using-CachedOutputStream-insted-of-byte-in-WS-RM-td4226634.html

Regards, aki

> WS-RM should stream the messages into storage instead of using byte[]
> ---------------------------------------------------------------------
>
>                 Key: CXF-1100
>                 URL: https://issues.apache.org/jira/browse/CXF-1100
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>    Affects Versions: 2.0.2
>            Reporter: Daniel Kulp
>         Attachments: trunk_20110321.zip
>
>
> Currently, WS-RM loads the entire message into a byte[] to put into the RMMessage.  For large messages that could be a lot of memory used.   Ideally, it should be able to stream directly from the CachedOutputStream.getInputStream() into storage so if the message is cached in a temp file, it won't be totally loaded into memory.

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