<div dir="ltr"><div class="gmail_extra">Hi,<br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 10:26 PM, bloodBaron <span dir="ltr"><<a href="mailto:bloodbaronofvizkopa@gmail.com" target="_blank">bloodbaronofvizkopa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Michael Klishin-2 wrote<br>
<div class="">> On 30 July 2014 at 23:54:42, bloodBaron (<br>
<br>
> bloodbaronofvizkopa@<br>
<br>
</div><div class="">> ) wrote:<br>
>> > Is there a way to drop/reject the new messages instead of dropping<br>
>> the old<br>
>> messages on the queue?</div><div class=""><br></div></blockquote><div> </div></div>Queue contents and bindings are not related. You can bind/unbind queues with messages, or bind/unbind empty queues as well. </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">If you want to drop new messages, then use a <code style="color:rgb(85,85,85);font-size:13px;line-height:18px">per-queue-TTL</code><span style="color:rgb(85,85,85);font-family:Verdana,sans-serif;font-size:13px;line-height:18px"> </span> = 0, see: <a href="https://www.rabbitmq.com/blog/2014/01/23/preventing-unbounded-buffers-with-rabbitmq/#noqueueingatall">https://www.rabbitmq.com/blog/2014/01/23/preventing-unbounded-buffers-with-rabbitmq/#noqueueingatall</a></div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Alvaro</div></div>