<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">You could bind your reply queue to the
dead-letter exchange and you should <br>
receive it back. Unfortunately, this approach does not distinguish
producers <br>
and as consequence of this sends also messages that did not refer
only to <br>
particular senders. You could get around this by using parts of
routing keys <br>
dependent on who sent the message in the first place.<br>
<br>
Regards, <br>
Ernest Staszuk<br>
<br>
W dniu 2012-08-16 11:17, Paul pisze:<br>
</div>
<blockquote
cite="mid:f17aad39-8e78-4ce2-9409-b599917ba28e@googlegroups.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=utf-8">
<p>Hello,</p>
<p>I am hoping someone can help me out on this issue.</p>
<p><span>I have got a typical setup of a async consumer, consuming
from a Queue, and a async producer (with a reply_to queue set)
producing to an exchange.</span><br>
</p>
<p>I am facing the challenge of working with Dead Letter Queues
and TTL.</p>
<p>In a nutshell the producer needs a ways to determine if his/her
message ended up dead (in the event the consumer is too slow or
not "alive"). So this is what I have come up with but am
struggling to implement it (it might be impossible).</p>
<p>Producer produces the message (with a reply_to property) ->
Rabbit Expires the message based on the TTL -> sends the
message to a dead letter exchange -> the exchange routes the
message to the reply_to queue property on that message -> the
producer now consumers from that queue (the reply_to queue).</p>
<p>Question... "the exchange routes the message to the reply_to
queue property on that message"... is this possible and how?</p>
<p>Any other suggestions on implementation or design which would
meet my criteria would be greatly appreciated.</p>
<p>Thanks!</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rabbitmq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>
<a class="moz-txt-link-freetext" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>