[rabbitmq-discuss] Write access required to read from queue?
Steve Valaitis
steve at digitalnothing.com
Tue Jul 2 16:20:00 BST 2013
On Mon, Jul 1, 2013 at 8:24 PM, Michael Klishin
<michael.s.klishin at gmail.com> wrote:
>
> You can have a durable shared queue with multiple consumers.
>
> Here is an example of a read-only consumer connection. Note that in order to
> avoid declaring
> the queue, you just get a reference to it with :passive => true:
>
> https://github.com/ruby-amqp/bunny/commit/ea05c4eba9a063615e41bd0cb126abbe04ded91f
Thanks Michael. I can see from the spec how it would work now. I
wasn't aware of passive, I saw it on the Bunny info site, but it's
only mentioned in relation to querying the number of messages and
consumers.
More information about the rabbitmq-discuss
mailing list