[rabbitmq-discuss] Limit user to queue

Simon MacMullen simon at rabbitmq.com
Fri Aug 5 11:01:01 BST 2011


On 05/08/11 09:16, Christian Haintz wrote:
> Is it possible to limit users to specific routing keys on an exchange,
> so that they only can publish messages with that specific routing keys?
> Messages published on that exchange with other routing keys should fail
> or be ignored.

No, you'll have to partition users by exchange.

> My second question: Is it possible to limit a user to consume only from
> a specific queue?
>
> Third one: Is it possible to limit a user to publish only to a specific
> exchange?

Yes to both, see the access control guide here:

http://www.rabbitmq.com/admin-guide.html#access-control

Cheers, Simon
-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list