Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2295

JMS mailqueue deadlock when a single thread issue several consume

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, master, 3.0.1
    • Fix Version/s: None
    • Component/s: Queue
    • Labels:

      Description

      This will lead to a dead lock:

              MailQueue.MailQueueItem mailQueueItem1 = getMailQueue().deQueue();
              MailQueue.MailQueueItem mailQueueItem2 = getMailQueue().deQueue();
              mailQueueItem1.done(true);
              mailQueueItem2.done(true);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                btellier Benoit Tellier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: