AMQP 1.0 PRECONDITION_FAILED - inequivalent arg 'x-queue-type' for queue 'QueueQ' in vhost 'dev': received 'classic' but current is 'quorum' #8394
-
Describe the bugI'm using plugin rabbitmq-amqp1.0 . When I consuming messages from the queue type quorum I'm getting the below error: PRECONDITION_FAILED - inequivalent arg 'x-queue-type' for queue 'QueueQ' in vhost 'dev': received 'classic' but current is 'quorum' Reproduction steps
Expected behaviorThe messages should be consumed Additional contextHow should I pass "x-queue-type" in ReceiverLink settings? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
server: 3.11.6 |
Beta Was this translation helpful? Give feedback.
-
This is not a RabbitMQ issue - it's a mismatch between your server-side configuration (where the queue exists and is of type Given you have the option to adjust the queue arguments in your code, I'd recommend specifying |
Beta Was this translation helpful? Give feedback.
-
You can learn more in Declaration and Property Equivalence. Note that in 3.11, virtual hosts can be configured to use a default queue type different from I am not suggesting that you change the default, but it can be the factor that has made the queue you are trying to use a quorum queue. |
Beta Was this translation helpful? Give feedback.
You can learn more in Declaration and Property Equivalence.
Note that in 3.11, virtual hosts can be configured to use a default queue type different from
classic
, seerabbitmqctl help update_vhost_metadata
.I am not suggesting that you change the default, but it can be the factor that has made the queue you are trying to use a quorum queue.