<div dir="ltr">Hi MK, sorry for sending messages again, as per my understanding it sounds like with policies we cannot achieve load balancing right?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 18, 2013 at 1:21 PM, Michael Klishin <span dir="ltr">&lt;<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.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 class="im">On 18 Oct 2013, at 11:40, Rajasekhar P &lt;<a href="mailto:sekhar434145@gmail.com">sekhar434145@gmail.com</a>&gt; wrote:<br>

<br>
&gt; Can you please clarify me this as well, �with policies only we can achieve mirrored queues right?<br>
<br>
</div>Policies is a way to add queue attributes in a centralised way. Instead of your apps knowing how to set up mirroring or<br>
replication, you may choose to configure a policy to do it instead.<br>
<br>
A policy is a named pattern, e.g. ^log.*, which matches queue names. For the names that match, policy is applied<br>
(extra attributes are added).<br>
<br>
At the moment, policies are used for two RabbitMQ features: mirrored queues (replication of message contents) and<br>
federated exchanges (primarily useful for WAN-friendly asynchronous replication).<br>
<div class="im"><br>
&gt; if not, how mirrored queues and policies are different?<br>
<br>
</div>See above.<br>
<div class="im"><br>
&gt; In the previous mail you have mentioned something about federated exchanges. Can we achieve load balancing with this?<br>
<br>
</div>Not really. Federated exchanges allow you replicate a stream of messages published to exchange X across N nodes<br>
or clusters.<br>
<br>
Federated queues are different. They allow load balancing of a single queue between nodes, however,<br>
this is a new feature that&#39;s only available in RabbitMQ 3.2 (nightlies) and need some documentation<br>
improvements.<br>
<br>
Feel free to give nightly builds a try but wait for 3.2 final release before deploying into production.<br>
<div class="im"><br>
&gt; And how exactly it is different from Mirrored queues? Currently we are using 3.1.3, �can you please share docs related federation?<br>
<br>
</div><a href="http://www.rabbitmq.com/federation.html" target="_blank">http://www.rabbitmq.com/federation.html</a><br>
<br>
Initial federated queues docs:<br>
<a href="http://next.rabbitmq.com/federated-queues.html" target="_blank">http://next.rabbitmq.com/federated-queues.html</a><br>
<div class="HOEnZb"><div class="h5"><br>
MK<br>
<br>
<br>
<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>
</div></div></blockquote></div><br></div>