Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11651

All messages to be sent need to be visible in the Mail Status UI before they start to be sent

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.4, 7.0-milestone-1
    • 6.4-rc-1
    • Mail
    • None
    • Unit, Integration
    • Unknown
    • N/A

    Description

      This is also required to prevent having only N message sent, then have XWiki crashing and loose all the other messages not sent yet.

      Current Algorithm:

      • Put message reference on the sending queue
      • Sender queue creates the message, it's serialized to disk and then sent

      What we need instead:

      • Put message reference on a prepare queue
      • Have a Mail Prepare Thread take all message from that prepare queue, create the message one by one and serialize them one by one and put them on a sending queue
      • Have the Mail Sender Thread read from the sending queue, load the message from disk and send it

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: