[
https://issues.apache.org/jira/browse/AXIOM-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen resolved AXIOM-403.
-----------------------------------
Resolution: Fixed
> 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
> Affects Versions: 1.2.12
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: 1.2.13
>
>
> 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 is 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: [email protected]
For additional commands, e-mail: [email protected]