ACCESS_REFUSED - operation not permitted on the default exchange

                                       ACCESS_REFUSED - operation not permitted on the default exchange

一、报错来源:

    安装了rabbitmq_delayed_message_exchange 插件,代码运行,报错

二、问题 ACCESS_REFUSED - operation not permitted on the default exchange

    翻译: 拒绝访问-在默认exchange上不允许操作

三、原因

    后台 http://localhost:15672/#/exchanges 没有手动创建一个rabbitmq_delayed_message_exchange交换机,手动创建一个即可。

四、解决

    参考我这一篇:php-rabbitmq结合rabbitmq_delayed_message_exchange实现延时队列

你可能感兴趣的:(#,RabbitMq,default,exchange,tabbitMq)