<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/19/2013 11:28 AM, Emile Joubert
wrote:<br>
</div>
<blockquote cite="mid:512353B2.7020104@rabbitmq.com" type="cite">
<pre wrap="">You could consider using auto-delete queues together with dead-letter
exchanges to make sure that messages are no longer routed to queues that
belonged to consumers that crashed, and that any messages left in such
queues are available for processing.</pre>
</blockquote>
I am afraid that will not work. I remember that when I tried a
config that you suggest messages <br>
hadn't been dead-lettered at queue deletion. According to
documentation dead-lettering is <br>
triggered by eihter:<br>
<ul>
<li>The message is rejected (<span class="code ">basic.reject</span>
or <span class="code ">basic.nack</span>) with <span
class="code ">requeue=false</span>; or</li>
<li>The TTL for the message expires.</li>
</ul>
There is workaround if someone insist to choose dead lettering - use
right combination of message ttl and x-lease time.<br>
<br>
</body>
</html>