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.
精彩评论