[rabbitmq-discuss] RabbitMQ memory management
matthias at lshift.net
Sat Sep 13 04:47:58 BST 2008
Dmitriy Samovskiy wrote:
> Ben Hood wrote:
>> No, you've understood it correctly. If you send enough non-persistent
>> messages, eventually the queues will fill up, the broker will crash
>> and you will lose all of the messages that you sent to that node. ATM
> I assume this condition can't happen by design if messages are
> published with immediate flag set to true, right?
> Does it mean a message is returned if it can't be immediately routed
> to a queue or a message is returned if it can't be immediately routed
> to a consumer?
The latter. The former is done by the 'mandatory' flag.
With immediate=true no queuing takes place.
More information about the rabbitmq-discuss