Search code examples
amqp

Is it possible to declare a maximum queue size with AMQP?


As the title says — is it possible to declare a maximum queue size and broker behaviour when this maximum size is reached? Or is this a broker-specific option?

I ask because I'm trying to learn about AMQP, not because I have this specific problem with any specific broker… But broker-specific answers would still be insightful.


Solution

  • AFAIK you can't declare maximum queue size with RabbitMQ.

    Also there's no such setting in the AMQP sepc:

    http://www.rabbitmq.com/amqp-0-9-1-quickref.html#queue.declare