--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/00698968-5950-4ae8-8158-cd39da90e7f6%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/00698968-5950-4ae8-8158-cd39da90e7f6%40googlegroups.com.
Listing users is the only way at the moment.What I personally think should happen is `add_user` should be made idempotent. Re-adding an existing userarguably should not be an error. I see the argument that it would open the door to certain new misconfigurations such as mismatching credentialsbut I'd believe that it is a common scenario when I see it. It can be a new CLI command flag.If you want to preconfigure a node, consider using definition import [1]. In 3.8.2 it can be done without managementplugin (management.load_definitions becomes just load_definitions in the config file), including using CLI tools.
On Fri, Feb 28, 2020 at 2:52 PM Renya Walker <tomoem...@gmail.com> wrote:
Hello all again,--I'm currently working on a rabbitmq set up application for our app. A brief description for our setup application is that, it reads an xml that contains the rabbitmq commands and then runs them silently - for example, rabbitmqctl add_user "myuser" "myuserspassword1".On first run of our setup application, everything runs smoothly. However, when you run it again given the same xml, it will naturally generate a "user already exists" error - which is expected. Maybe this is far fetched, but is there a way we can check if a user already exists? I've looked around in the web but it seemed there's no article about it.Here's my development environment:OS: Windows 10 ProRMQ: 3.8.2Erlang: 10.5 OTP 22Best regards,
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/00698968-5950-4ae8-8158-cd39da90e7f6%40googlegroups.com.