[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    [jira] [Commented] (AXIOM-416) Enable streaming of the root part of a MIME message using the Attachm
From:       "Hudson (JIRA)" <jira () apache ! org>
Date:       2012-04-28 9:31:49
Message-ID: 195843107.6121.1335605509518.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


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

Hudson commented on AXIOM-416:
------------------------------

Integrated in ws-axiom-trunk #911 (See \
[https://builds.apache.org/job/ws-axiom-trunk/911/])  AXIOM-416: Added a method to \
the Attachments API that enables streaming of the root part of the MIME message. \
(Revision 1331714)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/AttachmentSet.java
                
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Attachments.java
                
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/AttachmentsDelegate.java
                
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java
                
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMXMLBuilderFactory.java


                
> Enable streaming of the root part of a MIME message using the Attachments API
> -----------------------------------------------------------------------------
> 
> Key: AXIOM-416
> URL: https://issues.apache.org/jira/browse/AXIOM-416
> Project: Axiom
> Issue Type: Improvement
> Components: API
> Affects Versions: 1.2.13
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Fix For: 1.2.14
> 
> 
> Before version 1.2.13, Axiom always loaded the root (SOAP) part of a MIME message \
> into memory. Axiom 1.2.13 introduced support for streaming of the root part. If \
> that feature is used, the root part will not be loaded into memory unless an \
> attempt is made to access another part of the MIME message (in which case Axiom \
> buffers the remaining - i.e. unconsumed - content of the root part). However, this \
> feature is only supported by the \
> OMXMLBuilderFactory#createSOAPModelBuilder(Attachments) and \
> OMXMLBuilderFactory#createSOAPModelBuilder(OMMetaFactory, Attachments) APIs. These \
> methods are not used by Axis2, and cannot be used because Axis2 relies its own API \
> (org.apache.axis2.builder.Builder) to process the root part, in particular to \
> support SwA (while OMXMLBuilderFactory only supports MTOM). To allow Axis2 to take \
> advantage of the feature, it is necessary to introduce a new method in the \
> Attachments class. The proposal is to add a method with the following signature:
> InputStream getRootPartInputStream(boolean preserve)
> If preserve == true, the method will behave in the same way as the existing \
> getRootPartInputStream() method. If preserve == false, then streaming will be \
> enabled.

--
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic