What characterizes a pass or fail for your particular tests?<div><br></div><div>The behavior you&#39;d expect to see is documented at:�<a href="http://www.rabbitmq.com/ttl.html">http://www.rabbitmq.com/ttl.html</a></div><div>
<br></div><div>Note that:</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>&quot;<span style="background-color:rgb(255,255,255);color:rgb(85,85,85);font-family:Verdana,sans-serif;font-size:13.333333969116211px;line-height:17.98611068725586px">While consumers never see expired messages, only when expired messages reach the head of a queue will they actually be discarded (or dead-lettered). When setting a per-queue TTL this is not a problem, since expired messages are always at the head of the queue. When setting per-message TTL however, expired messages can queue up behind non-expired ones until the latter are consumed or expired. Hence resources used by such expired messages will not be freed, and they will be counted in queue statistics (e.g. the number of messages in the queue).&quot;</span></div>
</blockquote><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 10:56 AM, Derek Greer <span dir="ltr">&lt;<a href="mailto:dbgreer@gmail.com" target="_blank">dbgreer@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;ve got several tests which publish a message with a TTL of 1 millisecond and then attempt to pull the message off was fail�intermittently. �I&#39;ve altered the tests to insert a thread sleep of 1, 3, 5 and finally 10 seconds before the tests pass 100% of the time. �This seems to be a bug. �Are messages checked for expiration�periodically, at the point a consumer connects and dequeues, both? �It would seem the latter isn&#39;t happening.<span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Derek</div></font></span><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>