<meta charset="utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div class="im" style="color: rgb(80, 0, 80); ">On Mon, Jul 18, 2011 at 10:02 AM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank" style="color: rgb(42, 93, 176); ">matthias@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
"absent" durable queues are only forgotten for routing purposes. RabbitMQ prevents re-creation of these queues since that would result in inconsistency when the node re-joins.<br><br>We could change things s.t. absent durable queues still participate in routing and that confirms return a 'nack' when messages are routed to such queues.<br>
</blockquote><div><br></div></div><div>It seems like that is the correct thing to do.</div><div class="im" style="color: rgb(80, 0, 80); "><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I am concerned though that there may be use cases where the current behaviour is the correct one.<br></blockquote><div><br></div></div><div>I am curious as to what that case may be. A network partition in a cluster like RabbitMQ's is an error condition. Thus, I expect the cluster to inform me of the error, not to silently go on as if nothing is wrong.</div>
<div><br></div><div>AMQP is often compared with SMTP, with exchanges acting as MTAs and with senders and receivers. A topic exchange is akin to a distribution list. Publisher submit to the list and the message is sent to subscribers. If there are no subscribers, then the publisher will receive no errors. But if there are subscribers, but their mailbox is unreachable, then the subscriber (or the MTA, depending on the configuration) will receive an error message. </div>
<div><br></div><div>At the moment RabbitMQ is failing to generate those error messages, so I have no way of knowing whether the radio silence means there are no subscribers or the subscriber failed to receive the message, actually is worse, since I would actually get a publisher confirm ack, a positive response.</div>
<div><br></div><div>Elias Levy</div></span>