A special field called routing key.
一个特殊的字段叫做routing key。
If Bob wants to be friends with Alice he sends the default exchange a chat message using the name of the friendship queue as routing key.
如果Bob想和Alice成为朋友,他会使用这个队列的名字作为routing key,发送一个消息到默认交换器。
If Bob wants to be friends with Alice he sends the default exchange a chat message using the name of the friendship queue as routing key.
如果Bob想和Alice成为朋友,他会使用这个队列的名字作为routing key,发送一个消息到默认交换器。
应用推荐