Enlist types of exchanges available in RabbitMQ?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Mar 21, 2020

 

There are four types of exchanges available in RabbitMQ. They are

Direct Exchanges - This type route the messages with a routing key equal to the routing key declared by the binding queue.

Fanout Exchanges - This type route the messages to all bound queues indiscriminately.

Topic Exchanges - This type route the messages to the queues if the routing key of the route is matched all or a portion of the matching patterns.

Headers Exchanges - This type route the messages based upon the matching of message headers to the expected headers which are specified in the binding queue.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Rabbitmq Interview Questions

    Explain what is Rabbitmq?

    RabbitMq is an open-source message-broker software developed by Pivotal software. This cross-platform message-oriented middleware software was originally implemented in Advanced Message Queuing Protoc...

    Rabbitmq Interview Questions

    Enlist major features RabbitMQ?

    Some of the major features of RabbitMQ are,RabbitMQ supports Asynchronous messaging with multiple messaging protocols, multiple exchange types, flexible routing, message queuing, and delivery ack...

    Rabbitmq Interview Questions

    What is an exchange in RabbitMQ?

    Exchanges in RabbitMQ is used to control the routing of messages to the queues with the help of the header attributes, bindings, and routing keys. They act as message routing agents and are defined by...