Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.1
-
None
-
None
Description
MimeMailPoller is not thread-safe. As far as I have seen while debugging mail message is not deleted until close method of javax.mail.Folder is being called
If processed message attachment is large enough and polling period is a small number, different threads may process same message concurrently.
workingSet approach similar to FtpPoller or FilePoller may solve the problem.