Richard,

the code you supplied does pretty much the same as MimeMessageWrapper is
doing.
If a database is used as a repository this problem is only prolonged, cause
storing or retrieving mails to or from the the database currently loads the
entire Mail into a ByteArrayStream.
Actually im wondering why JDBCMailRepository.store(MailImpl mc) isnt using
the InputStream of MimeMessageInputStreamSource and
JDBCMailRepository.retrieve(String key) loads the Mail with
ResultSet.getBytes(1) in MimeMessageJDBCSource instead of
ResultSet.getBinaryStream(1).
Maybe someone can explain this?

M


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to