[jboss-dev-forums] [Design of JBoss Collaboration Server] - Re: Deleting Message Bodies

sappenin do-not-reply at jboss.com
Fri Sep 15 13:20:29 EDT 2006


Hey,

Thanks for the thread pointer.  After poking around in the MailboxService class, there appears to be some logic that determines if a given messageBody is orphaned or not.  This only gets called from the expunge() function, which appears to deal with expunging a folder, mostly from the IMAP code.  

However, I don't see anything like this happening in the UserApi (org.jboss.mail.userapi.MailSender) when a message gets deleted.  The MessageData gets deleted, but not the Messagebody (directly at least).

 Is there some kind of automatic expunge happenin at a scheduled time, or on some other call?  Otherwise it seems like the webmail would be creating orphaned message bodies.

Thanks!

David

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971987#3971987

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971987



More information about the jboss-dev-forums mailing list