I'm trying to set the max length for a Rabbitmq queue using the Python amqplib library. But the queue does not get limited.
http://www.rabbitmq.com/maxlength.html
I've reset the Rabbitmq server each time to delete the queue.
What am I doing wrong?
Thanks
args = {"x-max-length":2}
self.channel.queue_declare(queue=self.queue_name, durable=durable,
exclusive=exclusive, auto_delete=auto_delete, arguments=args)