[rabbitmq-discuss] rabbitmqadmin and default node behaviour
Simon MacMullen
simon at rabbitmq.com
Fri Oct 19 13:38:51 BST 2012
On 19/10/12 11:01, Simon Lundström wrote:
> Hello!
Hi!
> I'm trying to understand why rabbitmqadmin doesn't use the "default"
> node when no config file is specified.
> I use a config (stored in the default location) but I everytime I use
> rabbitmqadmin I don't want to explicitly specify the node for every
> command.
> Someone must have had a good reason for not doing this in the first
> place, but I cannot figure it out.
Hmm. Not sure I remember. The best explanation is at
http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2012-February/018191.html
There's obviously a concern about not breaking the case where there is
no config file. Maybe that was all.
> My suggestion:
> * Always use nodename "default" if no other is specified via the node
> switch.
> * Use the default config if not other config is specified via the config
> switch.
>
> I'm willing to create a pull request for this, I just wanted to discuss
> it first.
Yes, that sounds reasonable.
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list