With the 1.8.0 server this was possible, but with the latest 2.1.1 I
get an access_refused back.
Is there an explanation for this, or do I understand the specs wrongly here?
Meta code:
val connection = connectionFactory.newConnection
val channel = connection.createChannel
val queue = channel.queueDeclare.getQueue
val queueBind = channel.queueBind(queue, "", "some.routing.key")
Cheers,
Irmo
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq...@lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
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
Thanks :-)
Well, don't forget that 0-9-1 came out after 0-10. And I don't think
it's a secret that we're extremely unlikely to ever implement 0-10. It's
more that 0-9-1 or 0-8 don't really specify clearly the role of the
default exchange. MikeB interprets it not as an exchange, but as a
separate publishing mechanism, that is accessible by publishing messages
with no exchange specified - there's no real reason why it has to be a
concrete exchange at all. Thus in light of that, there's substantial
debate whether it makes sense to be able to do any binding actions etc
to it.
Personally, I think the model is cleaner if that exchange/mechanism
doesn't exist at all! But it's clear that it has a lot of utility.