You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/12/06 02:19:40 UTC

[jira] [Commented] (AXIOM-403) Avoid buffering the root part of an XOP/MTOM message unless necessary

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

Hudson commented on AXIOM-403:
------------------------------

Integrated in ws-axiom-trunk #741 (See [https://builds.apache.org/job/ws-axiom-trunk/741/])
    Some initial code for AXIOM-403.

veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMXMLBuilderFactory.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/OMTestSuiteBuilder.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestReadAttachmentBeforeRootPartComplete.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testutils/src/main/java/org/apache/axiom/testutils/RandomUtils.java

                
> Avoid buffering the root part of an XOP/MTOM message unless necessary
> ---------------------------------------------------------------------
>
>                 Key: AXIOM-403
>                 URL: https://issues.apache.org/jira/browse/AXIOM-403
>             Project: Axiom
>          Issue Type: Improvement
>          Components: API
>            Reporter: Andreas Veithen
>            Priority: Minor
>
> Currently, the root part of an XOP/MTOM message is always buffered in memory. However, in many cases, the entire root part is processed before any of the attachment parts are accessed. Therefore the root part should only be buffered if necessary, i.e. when an attachment part is accessed before the entire root part has been consumed. One way to achieve this is to use a DetachableInputStream. Note that DetachableInputStream always buffers the content in memory (and never on disk), but this already the case for the root part (see the code in PartContentFactory).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org