Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3530

Unify the QueueBrowsers behavior on 0-8/0-9/0-10 code paths when failover happens.

    XMLWordPrintableJSON

Details

    Description

      The current functionality of QueueBrowser on 0-8/0-9/0-10 code paths behaves differently when failover happens. QueueBrowsers on 0-10 path invoke receiveNoWait() in order to browse the queue while QueueBrowsers on 0-9 path invoke receive() method. When failover happens 0-8/0-9/0-9-1 QueueBrowsers block and restart the browsing of the queue from the beginning after failover is finished while 0-10 QueueBrowsers return null when invoked during failover.

      QueueBrowser functionality should be changed to throw NoSuchElementException on iteration through the queue messages when falover happens.

      Attachments

        Activity

          People

            Unassigned Unassigned
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: