[rabbitmq-discuss] Drop new received messages when a queue is full

Alvaro Videla videlalvaro at gmail.com
Wed Jul 30 21:34:52 BST 2014


Hi,

On Wed, Jul 30, 2014 at 10:26 PM, bloodBaron <bloodbaronofvizkopa at gmail.com>
wrote:

> Michael Klishin-2 wrote
> >  On 30 July 2014 at 23:54:42, bloodBaron (
>
> > bloodbaronofvizkopa@
>
> > ) wrote:
> >> > Is there a way to drop/reject the new messages instead of dropping
> >> the old
> >> messages on the queue?
>
>
Queue contents and bindings are not related. You can bind/unbind queues
with messages, or bind/unbind empty queues as well.

If you want to drop new messages, then use a per-queue-TTL  = 0, see:
https://www.rabbitmq.com/blog/2014/01/23/preventing-unbounded-buffers-with-rabbitmq/#noqueueingatall

Cheers,

-Alvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140730/660b82b8/attachment.html>


More information about the rabbitmq-discuss mailing list