cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-936) HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
Date Mon, 27 Aug 2007 17:39:30 GMT

    [ https://issues.apache.org/jira/browse/CXF-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523062
] 

Glen Mazza commented on CXF-936:
--------------------------------

This is a small class[1], and since it is owned by Apache, we can incorporate this into our
own source code if needed.  

Nonetheless, I switched from this class to the ByteArrayOutputStream[2] in HTTPConduit.  Only
issue is I did not know the optimal default size to initialize the BAOS with--the default
of 32 seems to be too small for a message--I took 1024 instead--it can be adjusted if it is
thought to be too big or too small.  Also, I have not tested my changes here, as I have not
researched how to work with this class.

[1] http://tinyurl.com/3asl8g
[2] http://java.sun.com/j2se/1.4.2/docs/api/java/io/ByteArrayOutputStream.html


> HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
> -------------------------------------------------------------
>
>                 Key: CXF-936
>                 URL: https://issues.apache.org/jira/browse/CXF-936
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.0.2
>
>         Attachments: BAOSPatch.txt
>
>
> The HTTPConduit directly imports:
> import org.apache.geronimo.mail.util.StringBufferOutputStream;
> which means we HAVE to have geronimo mail and cannot work with the Sun mail jar.   That
needs to be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message