RabbitMQ — Why does the wrong subscriber get a published message?
问题 I have two services, Manager and Collector . Manager is subscribed to Queue COLLECTED_USER with routingKey user.collected and invokes a UserCollected handler. Collector is subscribed to Queue COLLECT_USER with routingKey user.collect and invokes a CollectUser handler. There can be multiple collectors so I have set exclusive to false (see below for code). There are also other services that listen for events like user.created , user.updated , user.deleted In addition there are services that