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. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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.