Client does not correctly close QueueBrowsers.
----------------------------------------------
Key: QPID-854
URL: https://issues.apache.org/jira/browse/QPID-854
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: M2.1
Reporter: Martin Ritchie
Assignee: Martin Ritchie
Fix For: M2.1
Summary:
QueueBrowsers are sent an unsolicited CancelOK from the Java broker
automatically when there are no more messages. Currently we don't handle this
correctly. What needs to occur is that the Browser needs to wait for all
messages in the _synchronousQueue AND any potentially pending message in the
dispatcher queue OR that the dispatcher is currently processing to be delivered.
One approach for this is to add a special CloseConsumer message to the
dispatcher queue so it can cleanly close the browser when all messages have
been processed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.