[rabbitmq-discuss] Permission on routing key

underattack7 underattack7 at googlemail.com
Sun Jan 9 23:47:40 GMT 2011


Thanks Matthias,
Exchanges bound to exchanges work fine for us.
Cheers,
Fab

Le samedi 8 janvier 2011, Matthias Radestock <matthias at rabbitmq.com> a écrit :
> Michi,
>
> Michi Oshima wrote:
>
> In this thread we've been trying to control how queue are bound to an
> exchange.  One way to get that to happen was for us (aka., "the creator of
> the usertest user") to bind a queue on behalf of the user.
>
> In addition I wanted to ensure queue deletion when the user connection
> terminates.
>
> I'm finding that exclusive=true won't work.
>
> Around queue creation and binding, we brought up two cases:
>
> 1. We create and bind the queue on behalf of the user.
> 2. User creates a queue, but we bind the queue on behalf of the user.
>
> In #1, exclusive=true causes an error when the user tries to consume a queue
> created by us.
>
> In #2, exclusive=true causes an error when when we try to bind the queue
> created by the user.
>
>
> You missed the third case we discussed: We create an internal exchange per user, bind that to the main exchange with all the allowed binding keys, and then let the user create queues and bind them to their internal exchange. exclusive=true works fine in that case.
>
>
> Matthias.
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list