[rabbitmq-discuss] Binding routing key to queue on default exchange

Matthew Sackman matthew at rabbitmq.com
Fri Oct 29 16:14:30 BST 2010


On Fri, Oct 29, 2010 at 05:09:12PM +0200, Irmo Manie wrote:
> If you declare a queue, there is an automatic binding where the queue
> name is used as the routing key.
> Now I want to bind a different routing key to that same queue name
> without specifying an exchange name, which according to the specs
> should be possible correct?

Nope. See http://dev.rabbitmq.com/wiki/Amqp091Errata#section_14

> With the 1.8.0 server this was possible, but with the latest 2.1.1 I
> get an access_refused back.

Yes, we corrected the behaviour! The default exchange is an exchange
that can only be used for publishing messages to. All other actions on
it are refused.

Matthew


More information about the rabbitmq-discuss mailing list