What is Message Oriented Middleware? Example

Messaging is a technique where data is transferred as a message payload between a sender and receiver system. The sender and receiver could be applications, services, or other components. Message Oriented Middleware (MOM) is the software or hardware infrastructure supporting this messaging style of communication.

What is Message Oriented Middleware?

Message Oriented Middleware (MoM) is a form of middleware that allows applications to communicate with each other via Message Oriented Middleware (MoM).

Applications do not need to know anything about the application which receives the message. The only thing they need is a channel or queue where they can send their messages.

Message-oriented middleware is often used to enable communication between applications running on different operating systems or in different environments. It is typically implemented within the network infrastructure, but it can also be implemented on desktop computers or servers. Because MOM runs within the network infrastructure, it does not require developers to make changes to their applications. Instead, it enables applications to interact using a common message format.

The term MOM is used in enterprise software development to refer to software products that serve as messaging protocols for distributed transaction processing, transport, and routing.

Message Oriented Middleware Examples

Message Oriented Middleware (MOM) allows application modules to be distributed over heterogeneous platforms and reduces the complexity of developing applications that span multiple operating systems and network protocols. MOM provides services that allow an application program to send or receive messages, map a message queue to a local resource, and set up a message handler that can process the messages as they arrive on the queue.

Message Oriented Middleware (MOM) is software or hardware infrastructure supporting sending and receiving messages between distributed systems. MOM allows application modules to be distributed over heterogeneous platforms and reduces the complexity of developing applications that span multiple operating systems and network protocols. MOM provides services that allow an application program to send or receive messages, map a message queue to a local resource, and set up a message handler that can process the messages as they arrive on the queue.

MOM is used in enterprise software to facilitate communication between mutually interacting software agents. Agents may include programs, people, databases, or devices. In addition, agents may interact with one another either directly or indirectly through intermediary agents.

Message Oriented Architecture

A message oriented architecture typically consists of a number of components:

A message queue: This is the basic queue mechanism where messages are stored in a FIFO fashion. Messages are addressed to a specific recipient so that each client can communicate with others by sending them messages.

A broker: The broker takes care of the actual act of sending messages from one place to another. It is usually a separate process that runs on one or more machines, and it also keeps track of what recipients have read a message and which ones still have it in their queues.

A client application: These applications create, send and receive messages, and they interact with the broker through some sort of protocol (REST, AMQP, etc.).

Related:

Message Oriented Communication in Distributed SystemMessage Oriented Communication in Distributed Computing
What is Message Oriented Communication?Message Oriented Architecture Patterns
What are Message Oriented Middleware Examples?What is Message Oriented Architecture?