You should read:

In short, access to queues (and to a few other things) is controlled by
three permission strings that each user has. So, UserB can subscribe to
QueueA, provided he guesses the queue's name correctly and that he has
read access to broker-named queues.

You can protect UserA's queues from being read by UserB, but you
have to name them yourself (and make sure that UserB does not have
access to queues named that way). A simple way to do this would be to
name UserX's queues "userx.<something random>" and to only grant him
access to "userx\..*" (i.e. all names beginning with the string

Hope this helps.

On Thu, Oct 27, 2011 at 12:17:28PM -1000, Julio Polo wrote:
I'm new to RabbitMQ. Are queues only readable to the user that
declared it? In other words, if UserA declares QueueA, and UserB
declares QueueB, both under the same vhost and same exchange, can
UserB subscribe to QueueA if he guesses the name of QueueA correctly?

Julio Polo
University of Hawaii
rabbitmq-discuss mailing list
rabbitmq-discuss at

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
grouprabbitmq-discuss @
postedOct 27, '11 at 10:17p
activeOct 27, '11 at 11:24p



site design / logo © 2018 Grokbase