[rabbitmq-discuss] Limiting the size of a message

Matthias Radestock matthias at rabbitmq.com
Mon Jul 30 10:22:45 BST 2012


On 30/07/12 10:05, Emile Joubert wrote:
> On 28/07/12 03:20, kmb wrote:
>> Is there a way to limit the size of messages that producers can send? I'd
>> like to prevent an authorized user with malicious intent from crashing a
>> RabbitMQ server (or severly degrading performance for a while) by sending a
>> massive message.
>
> No, the message size cannot be limited

...though this feature is on our to-do list.

> but it is possible to limit the size of frames (see
> http://www.rabbitmq.com/amqp-0-9-1-reference.html#connection.tune.frame-max)

...though that limit is currently not enforced, i.e. the broker will 
happily accept larger frames. We intend to change that in a future release.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list