项目场景:
记录一下MQ 提供者发送数据得时候报错 配置出现错误
//也可以参考这位大佬的
问题描述:
com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=530, reply-text=NOT_ALLOWED - vhost JCcccHost not found, class-id=10, method-id=40)
解决方案:
1-先打开mq 管理页面
2-看下配置文件 yml virtual-host: / 要跟上面端口对应得上
3-重试一下直接发送成功