我正在试验 RabbitMQ 和 Federation 插件。我想使用为双向上游配置的两个代理来测试 RabbitMQ 联合,但我的发送方/接收方 python 脚本使用“默认”交换......它没有得到联合。
你能联合“默认”交换吗?如果是,如何?另外,如果是,您是否应该(在最佳实践等方面)联合“默认”交换?
在短期内,我可能会创建一个新的“hello-exchange”,然后联合它并重新调整我的发送方/接收方以使用这个新的交换。
我正在试验 RabbitMQ 和 Federation 插件。我想使用为双向上游配置的两个代理来测试 RabbitMQ 联合,但我的发送方/接收方 python 脚本使用“默认”交换......它没有得到联合。
你能联合“默认”交换吗?如果是,如何?另外,如果是,您是否应该(在最佳实践等方面)联合“默认”交换?
在短期内,我可能会创建一个新的“hello-exchange”,然后联合它并重新调整我的发送方/接收方以使用这个新的交换。
No you can't Federate the "default" exchange. I found the official documentation for it: https://www.rabbitmq.com/federated-exchanges.html. Somehow I missed this part of the documentation.
(Also see @Gabriele's comment for the direct github sourcecode if you want to see more lowlevel (and it says why... but the "why" is also very lowlevel).)