RabbitMQ & AMQP (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are Bindings and Routing Keys?
junior LevelRouting
In Simple Words:
- Routing Key: A string attribute attached to a message by the producer (e.g.,
orders.europe.createdoremail.notifications). - Binding: The link or configuration between an Exchange and a Queue.
- Binding Key: A pattern or string specified when creating a binding. The exchange compares the incoming message's Routing Key with the queue's Binding Key to route the message.