QueueDeclarePassive does not report queue type mismatch #273
Closed as not planned
Description
Describe the bug
channel.QueueDeclarePassive succeeds with existing queue of different type.
To Reproduce
Steps to reproduce the behavior:
- Create a classic queue
- call channel.QueueDeclarePassive(....., amqp.Table{amqp.QueueTypeArg: amqp.QueueTypeQuorum})
- test err != nil
Expected behavior
If a classic queue exists with the same name and parameters, QueueDeclarePassive should return an error with the quorum queue type.
Metadata
Assignees
Labels
No labels