[rabbitmq-discuss] Permission on routing key

underattack7 underattack7 at googlemail.com
Fri Jan 7 14:40:25 GMT 2011


That's not that easy as the routing key has the format:

site.user.param1.param2.param3

and different users are interested in different things, for example :
"site1"."toto".#,  "site2".#, "site1"."toto"."paramtoto".# .....

so we cannot really create all the queue in advance.

Cheers,
Fabien


On 7 January 2011 14:33, Matthias Radestock <matthias at rabbitmq.com> wrote:

> Fab,
>
>
> underattack7 wrote:
>
>> Is it possible to allow a user to create and bind a queue to a topic
>> exchange with a specific routing key ?
>>
>> For example, I have :
>> - virtual host:  host_test
>> - user : usertest
>> - exchange: exchangetest
>>
>> I would like the usertest to be able to create queues on exchangetest but
>> only with the routing key "toto.*.*"
>>
>>
>>  From the documentation, I cannot see how to achieve such things.
>>
>
> You can't. But given that you know all the above, why don't you (the
> creator of the usertest user) create the queue and binding, so the user
> doesn't have to create anything?
>
> Regards,
>
> Matthias.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110107/403fbad8/attachment.htm>


More information about the rabbitmq-discuss mailing list