0

When consuming a message from a queue, I would like to retrieve the binding key (with wildcards) that was used to bind that queue to the exchange.

Is this possible somehow?

Thanks

Drew R
  • 2,988
  • 3
  • 19
  • 27

1 Answers1

0

Yes it is possible. Every received message has this field: message.fields.routingKey

Jesferman
  • 1,049
  • 7
  • 12