rabbitmq / rabbitmq-common

Common library used by rabbitmq-server and rabbitmq-erlang-client
Other
66 stars 112 forks source link

Precondition failed when re-declaring classic queue. #341

Closed lukebakken closed 4 years ago

lukebakken commented 4 years ago

Reproduce with the following Python code:

import logging
import pika

logging.basicConfig(level=logging.DEBUG)

with pika.BlockingConnection() as connection:
    channel = connection.channel()
    channel.queue_declare(queue='classic-queue')

with pika.BlockingConnection() as connection:
    channel = connection.channel()
    channel.queue_declare(queue='classic-queue', arguments={'x-queue-type': 'classic'})