Stored mail bodies now work with after removing the nested InputStreams.  I 
have added a IOUtil.dotStuffingCopy method that will copy a dotStuffed stream 
to a normal output stream.  Currently this is only used for stored mail bodies. 
 Simple mail bodies are still using the code from the Nokia branch.  Eventually 
I will refactor it so both use the new copying method, but I want to do some 
benchmarking first to check that the new util method performs just as well.  In 
theory the new copy method should be slightly faster as it does 1 less copying 
step than the nokia code.  There may be a negitive impact on the performance of 
the store, as the new copying method runs differently (not likely to be a 
terrible hit, but not optimal).  The buffering within the blob output stream 
makes some assumptions about the way the copying is done.  I will fix this soon.

Mike.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873379#3873379

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873379


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to