<div dir="ltr"><div>Ah - that&#39;s helpful. Thanks.</div><div><br></div><div>Hopefully one more newb question. �New host, new install. �I touched nothing in the configuration.<br></div><div><br></div><div>To test, I used rabbitmqadmin from my desktop, following the steps here:�<a href="http://www.rabbitmq.com/management-cli.html">http://www.rabbitmq.com/management-cli.html</a></div>
<div><br></div><div>Error on publish follows:</div><div><br></div><div><div>�$ ./rabbitmqadmin -H <a href="http://lab.rabbit-1.domain.net">lab.rabbit-1.domain.net</a> -u guest -p guest �publish exchange=amq.default routing_key=test payload=&quot;hello, world&quot;</div>
<div>Message published but NOT routed</div></div><div><br></div><div>What have I done wrong?</div><div><br></div><div>I note we do our host names &#39;funny&#39; here, and it&#39;s not showing up in the node name correctly. �That is the name of the host is <a href="http://lab.rabbit-1.domain.net">lab.rabbit-1.domain.net</a> and rabbitmq returns node=rabbit@lab�</div>
<div><br></div><div>~Brian</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 5:25 AM, Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com" target="_blank">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="HOEnZb"><div class="h5">On 16/10/13 09:42, Michael Klishin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 15 Oct 2013, at 23:42, Brian Dunbar &lt;<a href="mailto:brian.dunbar@gmail.com" target="_blank">brian.dunbar@gmail.com</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
magine that I have a host <a href="http://lab.domain.net" target="_blank">lab.domain.net</a>. �I created a queue &#39;test_queue&#39; under the default vhost &#39;/&#39;.<br>
<br>
is it <a href="http://lab.domain.net:15672/test_queue" target="_blank">lab.domain.net:15672/test_<u></u>queue</a> ?<br>
</blockquote>
<br>
scheme://username:password@<u></u>hostname:port/vhost<br>
<br>
scheme is one of amqp,amqps.<br>
<br>
15672 is HTTP API port. You need 5672 or 5671 (if TLS is used). URIs are provided<br>
for vhosts, not queues.<br>
<br>
So it is amqp://<a href="http://username:password@lab.domain.net:5672" target="_blank">username:password@lab.<u></u>domain.net:5672</a> (for default vhost) or amqp://<a href="http://username:password@lab.domain.net:5672/myvhost" target="_blank">username:password@lab.<u></u>domain.net:5672/myvhost</a><br>

(for vhost myvhost). Slashes in vhost names need to be escaped (%2F).<br>
</blockquote>
<br></div></div>
To expand on this:<br>
<br>
If you are connecting via amqp / amqps then the URI just specifies how to connect to a server; it is not possible to specify a queue name in a URI any more than you would specify a table name in a JDBC URI. You connect to the server then start issuing amqp commands which reference queues and other objects.<br>

<br>
If you are connecting to the management interface via http / https, then the URIs are documented here: <a href="http://hg.rabbitmq.com/rabbitmq-management/raw-file/default/priv/www/api/index.html" target="_blank">http://hg.rabbitmq.com/<u></u>rabbitmq-management/raw-file/<u></u>default/priv/www/api/index.<u></u>html</a><br>

<br>
Cheers, Simon<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Brian Dunbar<br><br>&quot;Display some adaptability&quot;
</div>