queue_declare with passive #724
|
I am trying to do a queue_declare with some queue options (x-queue-type for example) and adding the passive=true options to see if the queue exists with the correct parameters. Is that correct? As I don't seem to get that behaviour. If the queue parameters don't match I still get a AMQ::Protocol::Queue::DeclareOk as long as the queue name exists. |
Answered by
michaelklishin
Aug 21, 2025
Replies: 1 comment
|
Passive declarations only verify that the queue exist, not that its parameters match because the server cannot possibly know what parameters a future client might use. |
0 replies
Answer selected by
michaelklishin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Passive declarations only verify that the queue exist, not that its parameters match because the server cannot possibly know what parameters a future client might use.