开发者

RabbitMQ: similar queues in different exchanges

Can I have two queues with the same name and same ro开发者_运维问答utingKey yet each bound to another exchange?


You can't have two queues with the same name at all, (well you can if they're in different virtual hosts but I don't think that's what you're talking about).

However, you can bind one queue to many exchanges, or to one exchange with many routing keys. If you're aiming to have a single consumer pick up messages from several exchanges, that's what you want to do.


You can't do that, unless those queues are in different vhosts.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜