Search⌘ K

Message-oriented Middleware (MOM)

Explore message-oriented middleware (MOM) and its role in decoupling microservices communication. Understand popular MOM technologies such as JMS, AMQP, ZeroMQ, and MQTT, their features, and how they support scalable and available microservices systems.

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 recipients and the load can be distributed, thereby eliminating the need for a specific infrastructure ...