[rabbitmq-discuss] Stupid Newbie Question - what is the uri or a queue?

Michael Klishin mklishin at gopivotal.com
Wed Oct 16 09:42:16 BST 2013


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 ?

scheme://username:password@hostname:port/vhost

scheme is one of amqp,amqps.

15672 is HTTP API port. You need 5672 or 5671 (if TLS is used). URIs are provided
for vhosts, not queues.

So it is amqp://username:password@lab.domain.net:5672 (for default vhost) or amqp://username:password@lab.domain.net:5672/myvhost
(for vhost myvhost). Slashes in vhost names need to be escaped (%2F).

MK





More information about the rabbitmq-discuss mailing list