MimeMailPoller is not thread-safe
---------------------------------

                 Key: SM-920
                 URL: https://issues.apache.org/activemq/browse/SM-920
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-components
    Affects Versions: 3.1
            Reporter: Alper Sogukpinar


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to