Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
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.