cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-1100) WS-RM should stream the messages into storage instead of using byte[]
Date Wed, 23 Mar 2011 13:12:06 GMT

    [ https://issues.apache.org/jira/browse/CXF-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010106#comment-13010106
] 

Aki Yoshida commented on CXF-1100:
----------------------------------

Hi,
Should I prepare for a similar change (i.e., the corresponding change minus the added methods
in RMStore) for 2.3.x as well? Let me know,

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
>            Assignee: Daniel Kulp
>             Fix For: 2.4
>
>         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

Mime
View raw message