Pages

Monday, March 31, 2014

Exchange types in an AMQP messaging protocol

There are several types of exchanges in AMQP protocol

  • fanout - messages are published to all queues
  • direct - messages are delivered if the message's routing key is identical to the queue's binding key.
  • topic - The exchange routes messages to the relevant queue or queues, depending on matches between the routing and binding keys
  • header - headers of the messages, and the binding key constraints of the queues are used to determine the correct queue/queues
A good article about the above is explained in detail in the following article.

No comments:

Post a Comment