I have implement RabbitMQ for my system running on ASP.NET. I have a question need to answer to solve my issue.
For a queue that is bind to 2 exchange and listened to by two consumers. Each exchange and consumer are generated from 1 different connection(Exchange_1 and consumer_1 created in connection_1. Exchange_2 and consumer_2 created in connection_2). How can I send that queue to the exact consumer I want? Thanks!
You are not supposed to send the queue
anywhere. You have to make both of your exchanges
bind to the queue
and both the consumers
subscribe to the queue
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.