james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] [Created] (MIME4J-193) Being able to write a message using dom api with no dependencies on the message package
Date Sun, 17 Apr 2011 11:04:05 GMT
Being able to write a message using dom api with no dependencies on the message package
---------------------------------------------------------------------------------------

                 Key: MIME4J-193
                 URL: https://issues.apache.org/jira/browse/MIME4J-193
             Project: JAMES Mime4j
          Issue Type: Wish
          Components: dom
    Affects Versions: 0.7
            Reporter: Stefano Bagnara
             Fix For: 0.7


While refactoring jDKIM against the latest mime4j trunk I found that the code now depends
on "message" package because of MimeWriter.DEFAULT.writeTo calls.

At the same time I see we now have MessageServiceFactory.newMessageFormatter and MessageFormatter
interface that expose a writeTo(Message, OutputStream) method: why don't we expose all of
the other writeTo methods from MimeWriter, too? (and maybe MimeWriter should implement MessageFormatter
so we don't need the MessageFormatterImpl class at all)

WDYT?

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

Mime
View raw message