[rabbitmq-discuss] rabbitmqadmin and ability to read configuration files

Massimo Paladin Massimo.Paladin at cern.ch
Tue Feb 21 15:37:24 GMT 2012


Simon,

you are right.

I believe now it is fine:
https://raw.github.com/mpaladin/rabbitmq-custom/master/rabbitmqadmin/rabbitmqadmin

Cheers,
---
Massimo Paladin

email: massimo.paladin at gmail.com
website: http://www.mpaladin.com
flickr's page: http://flickr.com/photos/massimop


On Tue, Feb 21, 2012 at 2:32 PM, Simon MacMullen <simon at rabbitmq.com> wrote:

> On 20/02/12 12:55, Lionel Cons wrote:
>
>> With our patch, we can put default_vhost=foo in the conf file and both
>> list/show commands (ignoring it) and declare commands (using it) will
>> work.
>>
>
> Ah, thanks, I see.
>
> It doesn't seem to work though:
>
> $ cat /home/simon/.rabbitmqadmin.**conf
>
> [test]
> hostname = localhost
> default_vhost = foo
>
> $ rabbitmqadmin list vhosts
>
> +------+---------+
> | name | tracing |
> +------+---------+
> | /    | False   |
> | foo  | False   |
> +------+---------+
>
> $ rabbitmqadmin -N test declare queue name=lives_in_foo
>
> queue declared
>
> $ rabbitmqadmin -N test list queues vhost name
> +-------+--------------+
> | vhost |     name     |
> +-------+--------------+
> | /     | lives_in_foo |
> +-------+--------------+
>
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120221/0b3de2de/attachment.htm>


More information about the rabbitmq-discuss mailing list