问题:
com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>
完整错误提示:
1 Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method<channel.close>(reply-code=403, reply-text=ACCESS_REFUSED - access to queue 'hello' in vhost '/' refused for user 'admin', class-id=50, method-id=10), null, ""}
原因:
为了授权该用户对VirtualHost”/” 的访问,用户添加之后,需要对该用户进行授权。