Point-to-point messaging model

In the point-to-point messaging model, one producer produces the message and one consumer receives it and further processes it. This model represents a one-to-one relationship between the producer and the consumer. If the sender wants to send the message to more than one application, it has to produce the message again and write to the provider. This is depicted in the following diagram:

 

As shown in the preceding diagram, the producer sends the message to the queue and the consumer reads it from there, carries out some operations on it, and persists it if there is any persisting system configured to store the message. In this model, the messaging queue decouples the sender and the receiver of the message. 

This model is suitable for an enterprise application that communicates with a single application or a set of small applications.

..................Content has been hidden....................

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