Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent documentation #231

Closed
ListeriaM opened this issue Nov 28, 2023 · 1 comment
Closed

Inconsistent documentation #231

ListeriaM opened this issue Nov 28, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@ListeriaM
Copy link

Describe the bug

in the comment above the QueueUnbind channel method (channel.go:975) it states the following:

It is possible to send and empty string for the exchange name which means to
unbind the queue from the default exchange.

but in the management UI under Exchanges > (AMQP default) > Bindings is says (emphasis mine):

The default exchange is implicitly bound to every queue, with a routing key equal to the queue name. It is not possible to explicitly bind to, or unbind from the default exchange. It also cannot be deleted.

Also tried it and got an error: Failed to unbind queue: Exception (403) Reason: "ACCESS_REFUSED - operation not permitted on the default exchange"

Reproduction steps

  1. Read the comment
  2. Read the docs
  3. Confusion

Expected behavior

  1. Read the comment
  2. Read the docs
  3. Consistency

Additional context

No response

@ListeriaM ListeriaM added the bug Something isn't working label Nov 28, 2023
@Zerpet Zerpet added this to the 1.9.1 milestone Dec 5, 2023
@Zerpet
Copy link
Contributor

Zerpet commented Dec 18, 2023

Indeed it is not allowed to bind/unbind from the default exchange. We deviate from the spec in that regards. I will update our web docs. The comment is removed via a6fa7f7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants