![]() |
The full form of MOM is Message-Oriented Middleware which is an infrastructure that allows communication and exchanges the data (messages). It involves the passing of data between applications using a communication channel that carries self-contained units of information (messages).In a MOM-based communication environment, messages are sent and received asynchronously. MOM provides asynchronous communication, and it just sends the message and performs its asynchronous operations. It consists of inter-application communication software that relies on asynchronous message passing which would oppose request-response architecture. So asynchronous system consists of a message queue that provides a temporary stage so that the destination program becomes busy or might not be connected. Message Queue helps in storing the message on a MOM platform. MOM clients can send and receive the message through the queue. Queues act as a central component for implementing asynchronous interaction within MOM.
Block Representation of Middleware:![]() Middleware Features and Capabilities
Structure and working of the Message Queue in MOM:![]() Message Queue in MOM MOM enables communication between distributed components. Middleware makes programming easier in a distributed environment. It acts like an Operating System (OS) for distributed computing architecture and provides transparency for the applications. A message-oriented middleware acts as a middleware for different applications for example: ![]() MOM Deployment The above diagram is a message-oriented middleware-based distributed system deployment that offers a service-based approach to inter-process communication. The messaging of MOM is the same as the postal service. The Architecture of Message Oriented Middleware:![]() Architecture of MOM Types of middleware:
Roles of message-oriented middleware
Example:MQTT(Message Queuing for Telemetry Transport): Most MQ systems and protocols are aimed at backed and enterprise applications and these types of technologies are not suited for constrained devices like sensor nodes. Such devices are typically constrained in terms of memory, bandwidth, and power. MQTT is a message-oriented protocol aimed at applications like wireless sensor networks, M2M(mobile 2 mobile) and ultimately the internet of things(a large number of nodes and applications loosely through a messaging system). Advantages
Disadvantage
|
Reffered: https://www.geeksforgeeks.org
Computer Networks |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |