how to consumer client with specific user and vhost #1074
maxime-aubry
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I try to consume RabbitMQ client with specific user and vhost.
Here is a part of my AppHost :
here is a part of program.cs of users-api
I want to use admin account for user interface of rabbitmq. But i want to use users-api-consumer account in users-api project.
Unfortunately, i get a connection string with admin account + password, and no specific vhost.
ConnectionString:custom-host = amqp://admin:admin@localhost:51041
what can i do ?
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions