0

从队列中消费消息时,我想检索用于将该队列绑定到交换的绑定键(带通配符)。

这有可能吗?

谢谢

4

1 回答 1

0

对的,这是可能的。每条收到的消息都有这个字段:message.fields.routingKey

于 2017-06-21T14:42:30.157 回答