Integration / RabbitMQ Interview Questions
What is a binding in RabbitMQ?
A binding is the rule that connects an exchange to a queue (or to another exchange) and tells the exchange under what conditions it should forward a message there.
For a direct or topic exchange, a binding carries a binding key that is compared against the message's routing key. For a headers exchange, the binding instead carries a set of header/value pairs to match.
A single queue can have many bindings from many exchanges, and a single exchange can have many bindings pointing at many queues, so bindings form the actual routing graph inside RabbitMQ.
More Related questions...