Mail/Spool/Message repositories refactoring
-------------------------------------------

         Key: JAMES-521
         URL: http://issues.apache.org/jira/browse/JAMES-521
     Project: James
        Type: Task

  Components: James Core, MailStore & MailRepository  
    Reporter: Stefano Bagnara
 Assigned to: Stefano Bagnara 
     Fix For: 2.4.0


- Deprecated MailRepository

- Introduce a MessageRepository interface for MimeMessages (not Mail objects) 
to replace the current MailRepository usage: we could even use JavaMail 
Store/Folders but maybe we should have our own interface and a wrapper.

- Do some experimentation on the spoolrepository interface:
  - MessageKey created while storing, and not userprovided.
  - Split store in insert / update methods.
  - Introduce message moving/cloning between repositories: 
moveFrom/moveTo/copyFrom/copyTo: this way further optimizations could be 
introduced at repository level when the 2 repositories share the storage 
medium. 


-- 
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