Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-920

MimeMailPoller is not thread-safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1
    • None
    • servicemix-components
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sogukpinar Alper Sogukpinar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: