[ http://issues.apache.org/jira/browse/JAMES-461?page=all ]

Joachim Draeger updated JAMES-461:
----------------------------------

    Attachment: JavamailStoreMailRepository2.zip


This proposal has no other dependencies than Javamail (i think even before 1.4) 
and James.

HashJavamailStoreMailRepository  should work with every JavamailStore 
implementation that has deterministic
message content. (checksum save).  Performance could be quite good because 
after storing/listing it tries to get the messages by the last seen message 
number.

UIDPlusFolderMailRepository depends on javamail Folders that have a public 
long[] addUIDMessages(Message[] msgs); method which returns the uids of the 
added messages. This method is called via reflection, and in the future even 
the message name might be configureable form config.xml.
At the moment there is no known Javamail store implementation that provides 
such a method, but it should come soon.

The Javamail store url is not configureable in the unit tests at the moment. 
Nearly all tests depend on getNativeMessageCount(), and getNativeMessages() at 
the moment. I plan to write a few more general tests in the future.

This implementation should be considered as EXPERIMENTAL, but I think it's not 
so far from being stable.

Joachim

> Javamail Store based MailRepository support (was: Maildir support)
> ------------------------------------------------------------------
>
>          Key: JAMES-461
>          URL: http://issues.apache.org/jira/browse/JAMES-461
>      Project: James
>         Type: New Feature

>   Components: MailStore & MailRepository
>     Reporter: Norman Maurer
>      Fix For: 2.4.0
>  Attachments: JavamailStoreMailRepository.java, 
> JavamailStoreMailRepository2.zip, MaildirMailRepository.java, 
> MaildirMailRepository.java, UIDPlusFolderMailRepository1.zip
>
> Add support for Javamail Stores as MailRepositories

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to