Too bad this was not there (or was it there and we did not come across) when
we started writing the Axis2 attachments stuff. We had to write our own Mime
parsers and serializers to make sure Axis2 deffered parse the MIME
messages.

Axis2 does not depend on Java Mail a lot due to it's lack of support for
deffered/streaming parsing of MIME.  Personally I find JavaMail to be sub
optimal, but Activation was kind of OK for us.. IIRC we didn't had much
trouble with activation and it supported whatever the use cases we wanted to
support in Axis2..

Let's implement and see the advantages of it over the existing impl..BTW in
the home page of the mime4j, I found a reference to SAX...Does this work as
Sax or StAX?

thanks,
Thilina


> Oleg Kalnichevski wrote:
>
>> Folks,
>>
>> Would there be any interest in a SwA implementation based on Apache
>> mime4j [1]? Mime4j can handle very complex MIME messages, is reasonably
>> fast, and, most importantly, can stream complex MIME messages in and out
>> with a predictable memory footprint (using just a small internal buffer
>> of a constant length)
>> I _personally_ find Java Activation API pretty suboptimal and would like
>> Axiom to provide an alternative API based on a fully streamable model.
>> Let me know what you think.
>>
>> Oleg
>>
>> [1] http://james.apache.org/mime4j/index.html
>>
>>
>>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> Member; Apache Software Foundation; http://www.apache.org/
> Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
>
> Blog: http://sanjiva.weerawarana.org/
>



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

Reply via email to