<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><div><br></div><div>I'm building a messaging solution where we'd like messages in several queues to stick around for several days to a week or more. In the documentation, it seems to say that this is achievable via the Time-To-Live extension:</div><div><br></div><div><a href="http://www.rabbitmq.com/ttl.html#per-queue-message-ttl">http://www.rabbitmq.com/ttl.html#per-queue-message-ttl</a></div><div><br></div><div>I have a queue declared as such:</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; @queue ||= client.queue(QUEUE,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :durable =&gt; true,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :autodelete =&gt; false,&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :arguments =&gt; {'x-ha-policy' =&gt; 'all',</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'x-message-ttl' =&gt; 2147483647})</div></div><div><br></div><div>Obviously, I just picked a big number for the TTL&#8230;</div><div><br></div><div>The messages I'm pushing onto this queue are getting deleted immediately, as least as far as I can tell within the dashboard UI.</div><div><br></div><div>Am I going about this correctly?</div><div><br></div><div>Chris</div></body></html>