I am using the default configuration on latest RabbitMQ server (guest is admin) but I get the next exception when I run the RequestResponse sample.
OperationInterruptedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=530, text="NOT_ALLOWED - access to vhost 'test' refused for user 'guest'", classId=10, methodId=40, cause=
any ideas?
The sample is correct. The setting in App.config
is:
<add key="RabbitMQHost" value="rabbitmq://localhost/test"/>
It means that MT will try connecting to the local instance, and test
virtual host. Out of the box RabbitMQ has no virtual hosts configured and this is why you are getting this exception.
What you could have done is, using the management plugin:
test
virtual host to your RabbitMQ server configurationguest
userAnd then it will work with the App.config
without changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With