Simon,<div><br></div><div>you are right.</div><div><br></div><div>I believe now it is fine:</div><div><a href="https://raw.github.com/mpaladin/rabbitmq-custom/master/rabbitmqadmin/rabbitmqadmin">https://raw.github.com/mpaladin/rabbitmq-custom/master/rabbitmqadmin/rabbitmqadmin</a></div>

<div><br></div><div>Cheers,<br clear="all">---<br>Massimo Paladin<br><br>email: <a href="mailto:massimo.paladin@gmail.com" target="_blank">massimo.paladin@gmail.com</a><br>website: <a href="http://www.mpaladin.com/" target="_blank">http://www.mpaladin.com</a><br>

flickr&#39;s page: <a href="http://flickr.com/photos/massimop" target="_blank">http://flickr.com/photos/massimop</a><br>
<br><br><div class="gmail_quote">On Tue, Feb 21, 2012 at 2:32 PM, 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 20/02/12 12:55, Lionel Cons wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
With our patch, we can put default_vhost=foo in the conf file and both<br>
list/show commands (ignoring it) and declare commands (using it) will work.<br>
</blockquote>
<br></div>
Ah, thanks, I see.<br>
<br>
It doesn&#39;t seem to work though:<br>
<br>
$ cat /home/simon/.rabbitmqadmin.<u></u>conf<br>
<br>
[test]<br>
hostname = localhost<br>
default_vhost = foo<br>
<br>
$ rabbitmqadmin list vhosts<br>
<br>
+------+---------+<br>
| name | tracing |<br>
+------+---------+<br>
| /    | False   |<br>
| foo  | False   |<br>
+------+---------+<br>
<br>
$ rabbitmqadmin -N test declare queue name=lives_in_foo<br>
<br>
queue declared<br>
<br>
$ rabbitmqadmin -N test list queues vhost name<br>
+-------+--------------+<br>
| vhost |     name     |<br>
+-------+--------------+<br>
| /     | lives_in_foo |<br>
+-------+--------------+<div class="HOEnZb"><div class="h5"><br>
<br>
Cheers, Simon<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
</div></div></blockquote></div><br></div>