<br>Hi,<div><br></div><div>I might be�missing�some configuration.</div><div>I have two consumers(Two nodes from two different clusters) for a queue, waiting on the queue.</div><div>When I push data to the queue, each consumer receive alternative messages.</div>
<div>My requirement is all consumers should receive all messages.</div><div><br></div><div>Thanks,</div><div>Prashanth.</div><div><br></div><div><div class="gmail_quote">On Thu, Jul 19, 2012 at 1:43 PM, Prashanth <span dir="ltr">&lt;<a href="mailto:meetprashanth437@gmail.com" target="_blank">meetprashanth437@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank You Tim.<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 4:52 PM, Tim Watson <span dir="ltr">&lt;<a href="mailto:watson.timothy@gmail.com" target="_blank">watson.timothy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div><br></div><div>On 18 Jul 2012, at 20:15, Prashanth &lt;<a href="mailto:meetprashanth437@gmail.com" target="_blank">meetprashanth437@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite">

<div>Hi all,<div><br></div></div></blockquote><div><br></div><div>Hi</div><div><br><blockquote type="cite"><div><div>I was confused after reading the publisher confirm documentation.</div><div><br></div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">Similarly, messages published by clients using�</span><a href="http://www.rabbitmq.com/extensions.html#confirms" style="line-height:18px;text-align:left;color:rgb(68,68,68);font-size:13px;font-family:Verdana,sans-serif;text-decoration:none;font-weight:bold" target="_blank">publisher confirms</a><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">�will still be confirmed correctly even if the master (or any slaves) fail between the message being published and the message being able to be confirmed to the publisher. Thus from the point of view of the publisher, publishing to a mirrored-queue is no different from publishing to any other sort of queue. It is only consumers that need to be aware of the possibility of needing to re-consume from a mirrored-queue upon receipt of a�</span><a href="http://www.rabbitmq.com/extensions.html#consumer-cancel-notify" style="line-height:18px;text-align:left;color:rgb(68,68,68);font-size:13px;font-family:Verdana,sans-serif;text-decoration:none;font-weight:bold" target="_blank">Consumer Cancellation Notification</a><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">.</span>
</div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"><br></span></div></div></blockquote><div><br></div></div><div>So from the publisher&#39;s point of view, it looks like just one queue and the confirm means every surviving mirror has received and accepted the message.</div>

<div><br><blockquote type="cite"><div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">Equally, in the case of publisher confirms, a message will only be confirmed to the publisher when it has been accepted by all of the mirrors. It is correct to think of the semantics as being the same as a message being routed to multiple normal queues, and of a transaction with publications within that similarly are routed to multiple queues.</span>
</div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"><br></span></div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">After reading the above lines. Now I am confused about the publisher confirms. The first paragraph says that publishing to mirrored queues is like publishing to each individual queue.</span></div>

</div></blockquote><div><br></div></div><div>Where does it say that? It says that publishing to mirrored queues is atomic with respect to confirms.</div><div><br><blockquote type="cite"><div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"> Messages are published to all the queues and each queue sends publisher confirms. </span></div>

</div></blockquote><div><br></div></div><div>That&#39;s not what it says. It says that all queues will have the message before a confirm is sent to the publisher from the queue to which it originally published.</div><div>

<br></div><div>The publisher knows next to nothing about the mirrors.</div><div><br><blockquote type="cite"><div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">In the second paragraph it says�</span><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">a message will only be confirmed to the publisher when it has been accepted by all of the mirrors.</span></div>


<div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">Those two paragraph looks like they say two opposite things.</span></div>
<div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"><br></span></div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">Please, correct me if I am wrong.</span></div>


<div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"><br></span></div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"><br>


</span></div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">Thanks,</span></div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif">Prashanth.</span></div>


<div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"><br></span></div><div><span style="line-height:18px;text-align:left;color:rgb(85,85,85);font-size:13px;font-family:Verdana,sans-serif"><br>


</span></div>
</div></blockquote></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rabbitmq-discuss mailing list</span><br><span><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a></span><br>

<span><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></span><br></div></blockquote></div><br>_______________________________________________<br>


rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
<br></blockquote></div><br>
</div></div></blockquote></div><br></div>