我可以绑定来自不同虚拟主机的队列吗?
Can I bind a queue from a different vhost?
我与来自该交换的虚拟主机、用户等进行了交换,我绑定了不同的队列。交换和队列在同一个虚拟主机中。
现在我想为不同的队列创建一个不同的虚拟主机,但我无法从以前的交换中绑定这个新队列,因为它在不同的虚拟主机中。
最好的解决方案是什么?
谢谢
您的要求通常使用 federation or shovel plugins. For your requirement a federated exchange 似乎更合适。
如果我通过命名 vhost 来引用你的问题:
The exchange and the queues are in the same vhost A. Now I want to
create a different vhost B for a different queue but I cannot bind this
new queue from the previous exchange as It is in different vhost.
- 您在虚拟主机上创建了一个联合交换 B
- 此交换链接到虚拟主机上的上游交换 A
- vhost B 上的新队列已绑定到此联合交换。
我与来自该交换的虚拟主机、用户等进行了交换,我绑定了不同的队列。交换和队列在同一个虚拟主机中。 现在我想为不同的队列创建一个不同的虚拟主机,但我无法从以前的交换中绑定这个新队列,因为它在不同的虚拟主机中。
最好的解决方案是什么? 谢谢
您的要求通常使用 federation or shovel plugins. For your requirement a federated exchange 似乎更合适。
如果我通过命名 vhost 来引用你的问题:
The exchange and the queues are in the same vhost A. Now I want to create a different vhost B for a different queue but I cannot bind this new queue from the previous exchange as It is in different vhost.
- 您在虚拟主机上创建了一个联合交换 B
- 此交换链接到虚拟主机上的上游交换 A
- vhost B 上的新队列已绑定到此联合交换。