Dear Simon, et al,<div><br></div><div>Thanks! Yes, i spotted it almost immediately after i sent the email. ;-) The two are happily chatting, now.</div><div><br></div><div>Best wishes,</div><div><br></div><div>--greg<br><br>
<div class="gmail_quote">On Tue, Oct 25, 2011 at 2:47 AM, Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com">simon@rabbitmq.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 25/10/11 00:50, Meredith Gregory wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Dear Rabbiters,<br>
<br>
i&#39;m running into a problem getting node.js to talk to scala over<br>
rabbitmq. i&#39;m using the node-amqp package with node.js. i installed it<br>
using npm install amqp. i&#39;m using the java client for rabbitmq 2.5.1 on<br>
the scala side. i&#39;ve successfully gotten scala to talk to scala<br>
and node.js to talk to node.js. However, when i attempt to get node.js<br>
to talk to scala there appears to be a disagreement regarding<br>
queue declaration. Thus, if i fire up node.js first and look at the<br>
queue it creates with the rabbitmq management plugin i see<br>
<br>
<br>
 � � � �<br>
node-simple-direct_queue<br></div>
&lt;<a href="http://localhost:55672/mgmt/#/queues/%2F/node-simple-direct_queue" target="_blank">http://localhost:55672/mgmt/#<u></u>/queues/%2F/node-simple-<u></u>direct_queue</a>&gt; � � <br><div class="im">
AD � � �Idle � �0 � � � 0 � � � 0<br>
</div></blockquote>
<br>
So this looks like a transient autodelete queue.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i then attempt to accomplish a connection from the scala side (with code<br>
that works on scala-to-scala) and i see an exception when the code calls<br>
the queueDeclare method.<br>
<br>
 � � � � � � channel.exchangeDeclare( exQNameRoot, &quot;direct&quot; )<br>
 � � � � � � //channel.queueDeclare(qname, true, false, false, null);<br>
 � �channel.queueDeclare(qname, true, false, true, null); // &lt;-- here we<br>
throw an exception<br>
</blockquote>
<br></div>
And here you are declaring a durable autodelete queue. That&#39;s probably your problem.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
java.io.IOException<br>
at com.rabbitmq.client.impl.<u></u>AMQChannel.wrap(AMQChannel.<u></u>java:107)<br>
at com.rabbitmq.client.impl.<u></u>AMQChannel.exnWrappingRpc(<u></u>AMQChannel.java:131)<br>
at com.rabbitmq.client.impl.<u></u>ChannelN.queueDeclare(<u></u>ChannelN.java:627)<br>
at com.rabbitmq.client.impl.<u></u>ChannelN.queueDeclare(<u></u>ChannelN.java:59)<br>
at<br>
com.biosimilarity.lift.lib.<u></u>AMQPBrokerScope$<u></u>StdMonadicAMQPSndrRcvr.sender(<u></u>AMQPMnd.scala:53)<br>
</blockquote>
<br></div>
...but you can unwrap this exception and check, or look in the broker logs to see what it&#39;s complaining about.<br>
<br>
Cheers, Simon<br><font color="#888888">
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>L.G. Meredith<br>Managing Partner<br>Biosimilarity LLC<br>7329 39th Ave SW<div>Seattle, WA 98136<br><br>+1 206.650.3740<br><br><a href="http://biosimilarity.blogspot.com" target="_blank">http://biosimilarity.blogspot.com</a></div>
<br>
</div>