[rabbitmq-discuss] Stupid Newbie Question - what is the uri or a queue?
brian.dunbar at gmail.com
Wed Oct 16 17:06:29 BST 2013
Ah - that's helpful. Thanks.
Hopefully one more newb question. New host, new install. I touched
nothing in the configuration.
To test, I used rabbitmqadmin from my desktop, following the steps here:
Error on publish follows:
$ ./rabbitmqadmin -H lab.rabbit-1.domain.net -u guest -p guest publish
exchange=amq.default routing_key=test payload="hello, world"
Message published but NOT routed
What have I done wrong?
I note we do our host names 'funny' here, and it's not showing up in the
node name correctly. That is the name of the host is
lab.rabbit-1.domain.net and rabbitmq returns node=rabbit at lab
On Wed, Oct 16, 2013 at 5:25 AM, Simon MacMullen <simon at rabbitmq.com> wrote:
> On 16/10/13 09:42, Michael Klishin wrote:
>> On 15 Oct 2013, at 23:42, Brian Dunbar <brian.dunbar at gmail.com> wrote:
>> magine that I have a host lab.domain.net. I created a queue
>>> 'test_queue' under the default vhost '/'.
>>> is it lab.domain.net:15672/test_**queue<http://lab.domain.net:15672/test_queue>?
>> scheme is one of amqp,amqps.
>> 15672 is HTTP API port. You need 5672 or 5671 (if TLS is used). URIs are
>> for vhosts, not queues.
>> So it is amqp://username:password@lab.**domain.net:5672<http://username:firstname.lastname@example.org:5672>(for default vhost) or amqp://
>> username:password at lab.**domain.net:5672/myvhost<http://username:email@example.com:5672/myvhost>
>> (for vhost myvhost). Slashes in vhost names need to be escaped (%2F).
> To expand on this:
> 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.
> If you are connecting to the management interface via http / https, then
> the URIs are documented here: http://hg.rabbitmq.com/**
> Cheers, Simon
> Simon MacMullen
> RabbitMQ, Pivotal
"Display some adaptability"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss