<div>Hello, I got the following error when I tried to declare mirror-queue with &quot;nodes&quot; on &quot;x-ha-policy&quot; argument.</div><div><br></div><div>I have run cluster with 3 nodes from rabbit@lab001 to lab003.</div>
<div><br></div><div>I run the following java code.</div><div>============================================</div><div><div>           Connection conn = test.CreateConn(&quot;guest&quot;, &quot;guest&quot;, &quot;/test&quot;, &quot;127.0.0.1&quot;, 5672);</div>
<div>            Channel chl = conn.createChannel();</div><div>            chl.exchangeDeclare(exchangeName, &quot;direct&quot;, true);</div><div>            </div><div>            Map&lt;String, Object&gt; args = new HashMap&lt;String, Object&gt;();</div>
<div>            args.put(&quot;x-ha-policy&quot;, &quot;nodes&quot;);</div><div>            args.put(&quot;x-ha-policy-params&quot;, Arrays.asList(&quot;rabbit@lab001&quot;, &quot;rabbit@lab002&quot;));</div><div>            chl.queueDeclare(queueName, false, false, false, args);</div>
<div>            chl.queueBind(queueName, exchangeName, routingKey);</div></div><div><br class="Apple-interchange-newline">============================================</div><div><br></div><div>=ERROR REPORT==== 15-Oct-2011::15:46:07 ===</div>
<div>** Generic server &lt;0.6599.4&gt; terminating</div><div>** Last message in was {init,false}</div><div>** When Server state == {q,{amqqueue,</div><div>                               {resource,&lt;&lt;&quot;/test&quot;&gt;&gt;,queue,&lt;&lt;&quot;test.queue2&quot;&gt;&gt;},</div>
<div>                               false,false,none,</div><div>                               [{&lt;&lt;&quot;x-ha-policy-params&quot;&gt;&gt;,array,</div><div>                                 [{longstr,&lt;&lt;&quot;rabbit@lab001&quot;&gt;&gt;},</div>
<div>                                  {longstr,&lt;&lt;&quot;rabbit@lab002&quot;&gt;&gt;}]},</div><div>                                {&lt;&lt;&quot;x-ha-policy&quot;&gt;&gt;,longstr,&lt;&lt;&quot;nodes&quot;&gt;&gt;}],</div>
<div>                               &lt;0.6599.4&gt;,[],</div><div>                               [rabbit@lab002]},</div><div>                           none,false,rabbit_mirror_queue_master,undefined,</div><div>                           {[],[]},</div>
<div>                           {[],[]},</div><div>                           undefined,undefined,undefined,undefined,</div><div>                           {state,fine,5000,undefined},</div><div>                           {dict,0,16,16,8,80,48,</div>
<div>                               {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],</div><div>                                []},</div><div>                               {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],</div>
<div>                                 []}}},</div><div>                           undefined,undefined}</div><div>** Reason for termination ==</div><div>** {badarg,[{erlang,binary_to_list,[rabbit@lab002]},</div><div>            {rabbit_mirror_queue_master,&#39;-init/3-lc$^0/1-0-&#39;,1},</div>
<div>            {rabbit_mirror_queue_master,init,3},</div><div>            {rabbit_amqqueue_process,declare,3},</div><div>            {gen_server2,handle_msg,2},</div><div>            {proc_lib,init_p_do_apply,3}]}</div>
<div><br></div><div><br></div>Shen, Yu-Teh<br>