Exchanges
Exchange is the named entity within the Virtual Host which receives messages from producer applications and
optionally routes them to message queues within the Virtual Host. The message routing occurs based on exchange routing algorithm
and queue Bindings.
The following Exchanges are implemented and supported by the Broker:
Direct Exchange provides routing of messages to zero or more queues based on an exact match between
the routing key of the message, and the binding key used to bind the queue to the exchange
Topic Exchange provides routing to bound queues based on a pattern match between the binding key and the
routing key of the message. This exchange type is used to support the classic publish/subscribe paradigm using a topic namespace as the
addressing model to select and deliver messages across multiple consumers based on a partial or full match on a topic pattern.
Fanout Exchange provides routing of messages to all bound queues regardless of the message's routing key.
Headers Exchange provides routing based on header properties within the AMQP message.
The message is passed to the queue if the headers property matches the arguments with which the queue was bound.
Also, Broker supports the concept of a Default Exchange to which all queues are bound using their name as a binding key.
Any number of exchanges of any type can be created on Virtual Host.
Exchange configuration is covered in .