You might consider having producers use the mandatory flag. That way if it's not possible for Rabbit to put the message into at least one queue, you'll get it sent back to you via a basic.return and the producer can rethink its life choices accordingly.<br>
<br>Best regards,<br>Jerry<br><br><div class="gmail_quote">On Thu, Aug 30, 2012 at 6:53 AM, tlempart <span dir="ltr"><<a href="mailto:tlempart@gmail.com" target="_blank">tlempart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Your discussion was very helpful for me. In particular, information about<br>
who is responsible for creating what. However, I see one problem in case of<br>
two independent applications, where the first one constains producer (PA)<br>
and the second one contains consumer (CA). At the beginning there are no<br>
exchanges/queues/bindings on the rabbitmq, so if the PA starts first, than<br>
the producer creates exchange and starts sending messages. Because consumer<br>
is not ready (CA has not yet started), than the queue and binding is not<br>
created and the messages are lost. Is there any simple way/pattern to solve<br>
such case, I mean to suspend sending messages by producer, until the<br>
consumer creates own infrastructure (queue and binding)?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/Exchange-and-queue-naming-conventions-tp7254p21702.html" target="_blank">http://rabbitmq.1065348.n5.nabble.com/Exchange-and-queue-naming-conventions-tp7254p21702.html</a><br>
Sent from the RabbitMQ mailing list archive at Nabble.com.<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>
</blockquote></div><br>