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

Andreas Veithen commented on AXIOM-377:
---------------------------------------

A couple of things that might be interesting to take into account while 
thinking about this issue:

* As noted in AXIOM-350, the Part/PartFactory stuff is actually not part of the 
public API. Therefore we could do some refactoring in that part of the code 
without breaking things for application code.
* We may reconsider AXIOM-326. The James project recently released mime4j 0.7 
and it supports pull style parsing of MIME messages. One of the problems with 
the current MIME code in Axiom is that it is very complex. If we get rid of 
that code and use mime4j instead, then this will probably make it easier to 
implement more sophisticated optimizations.

> When a multipart message is built, there should be a way to retrieve a 
> DataHandler to the MTOM part without reading the entire incoming stream
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIOM-377
>                 URL: https://issues.apache.org/jira/browse/AXIOM-377
>             Project: Axiom
>          Issue Type: New Feature
>            Reporter: Sadeep Jayasumana
>         Attachments: AXIOM-377.patch
>
>
> This feature is particularly useful when large attachments are used. Building 
> large attachments in memory drives the system OOM and building them on files 
> dramatically reduces performance.

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

        

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

Reply via email to