...

/

Message-oriented Middleware (MOM)

Message-oriented Middleware (MOM)

In this lesson, we'll discuss message-oriented middleware in a bit more depth.

Microservices & MOMs #

Microservices are decoupled by a MOM. A microservice sends a message to or receives it from the MOM. This means that the sender and the recipient do not know each other, only the communication channel. Service discovery is therefore not necessary. Sender and recipient find each other via the topic or queue through which they exchange messages.

Load balancing is also easy. If several recipients have registered for the same communication channel, a message can be processed by one of the ...