Message Oriented Communication
-
Uses messages to
communicate with different systems to perform some kind of function.
- Message
- A collection of data fields sent together between sender and
receiver
- Contain information on what action is requested from one end point
- Header + Payload
- Types of Message Oriented Communication
- Asynchronous or Synchronous Communication
- Persistent or Transient Communication
- Built using some kind of Message Oriented Middleware (MOM) like IBM's MQSeries or protocols like
HTTP, SMTP.
- Pros & Cons of Messaging:
Pros:
- Loose Coupling
- Easier Message routing and Transformation
- More flexible payload (binary attachments)
- Good for homogeneous and heterogeneous systems
Cons:
- Added complexity of message handling code in client and server
- Risk of losing type information
- Transactional context in which the message was sent does not
propagate to
the message server