In AMQP 0-8-x oraz 0-9-x an exchange is a message routing agent within a virtual host, handled — among others — by RabbitMQ server.
This exchange is similar in it's work to telephone exchanges.
Main feature of the exchange is filtering and / or dispatching messages based on specific rules.
AMQP 0-8-x and AMQP 0-9-x protocols defines four types of exchanges:
In our website exchanges will be marked on diagrams with the following image: