Message flow

The following is a standardly configured RabbitMQ message flow:

  1. The producer publishes a message to the exchange.
  2. The exchange receives the message and is now responsible for the routing of the message.
  3. A binding has to be set up between the queue and the exchange. In this case, we have bindings to two different queues from the exchange. The exchange routes the message in to the queues.
  4. The messages stay in the queue until they are handled by a consumer.
  5. The consumer handles the message:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset