Skip to content

QueueDeclarePassive does not report queue type mismatch #273

Closed as not planned
@gildas

Description

Describe the bug
channel.QueueDeclarePassive succeeds with existing queue of different type.

To Reproduce
Steps to reproduce the behavior:

  1. Create a classic queue
  2. call channel.QueueDeclarePassive(....., amqp.Table{amqp.QueueTypeArg: amqp.QueueTypeQuorum})
  3. 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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions