QPID-3950: Allow browsing of queues with exclusive subscriptions
Review Request #4744 - Created April 16, 2012 and submitted
The C++ broker already allows browsing subscriptons to exclusive queues. To be consistent we need to extend this to queues with exclusive subscritions as well. This is required by the new HA plugin (QPID-3603) so that replicating subscriptions can browse from exclusive queues in order to replicate their messages to a backup broker.
Posted (April 17, 2012, 8:17 a.m.)
I think the incrementing of the consumer count should perhaps be within the if statement above. Otherwise the enforcement of the exclusive flag depends on order of subscriptions. I.e. if a browser subscribes first, then an exclusive consume request will fail whereas if the exclusive consumer subscribes first, the browser will be allowed to subscribe without error.