Weitere ähnliche Inhalte Ähnlich wie Message oriented middleware (20) Mehr von Coforge (Erstwhile WHISHWORKS) (15) Kürzlich hochgeladen (20) Message oriented middleware1. 2014 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential2015 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential
www.whishworks.comwww.whishworks.com
Message Oriented Middleware
2. 2014 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential2015 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential
Overview
• MOM provides a clean method of communication between
disparate software applications and emerged as a approach
that distributed enterprise systems are built.
• The client of MOM system can send and receive messages
from other clients of the messaging system.
• Each client connects to one or more servers that act as an
intermediary while sending and receiving messages.
• The MOM platforms allows enterprises to build cohesive
system
3. 2014 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential2015 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential
Message-Oriented Middleware - Advantages
• Asynchronous Messaging : MOM comprises a category of
inter-application communication software that usually relies
on asynchronous message-passing, as opposed to a request-
response architecture. In case of asynchronous systems,
message queues provide temporary storage when the
destination program is busy or unable to get connected.
• Transformation: A MOM system with built-in intelligence can
transform messages en route to match the requirements of
the sender or of the recipient..
4. 2014 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential2015 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential
• MOM requires an extra component in the architecture, the
message transfer agent (message broker). As with any system,
adding another component can lead to reductions in performance
and make the system as a whole more difficult and expensive to
maintain. When introduced due to lack of standards governing the
use of message-oriented middleware has caused problems.
4
Message-Oriented Middleware -
Disadvantages
5. 2014 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential2015 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential
• The message queue is a fundamental concept within MOM.
• Queues provide the ability to store messages on a MOM platform.
• MOM clients are able to send and receive messages to and from a queue.
• Queues are central to the implementation of the asynchronous interaction
model within MOM.
• Usually the messages contained within a Queue is sorted in a particular
order.
• The standard queue found in a messaging system is the First-In First-Out
(FIFO) queue
• Many attributes like queue’s name, queue’s size, the save threshold of the
queue, message-sorting algorithm etc. can be configured
• MOM platforms support multiple queue types for different purposes.
5
Implementation
6. 2014 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential2015 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential
• Point-to-Point Model: The point-to-point messaging model
provides a straightforward asynchronous exchange of messages
between software entities. In this model, messages from producing
clients are routed to consuming clients via a queue.
• Publish/Subscribe Model: The publish/subscribe messaging model,
is a mechanism used to disseminate information between
anonymous message consumers and producers. These one-to-many
and many-to-many distribution mechanisms allow a single producer
to send a message to one user or potentially hundreds of thousands
of consumers.
6
Messaging Models
7. 2014 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential2015 © WHISHWORKS. All rights reserved. WHISHWORKS Confidential
• MOM solves a number of the inadequacies inherent in the RPC
mechanism.
• When constructing large-scale systems, it is vital to utilize a state-of-the-
art enterprise level MOM implementation.
• If the distributed systems are geographically dispersed deployments with
poor network connectivity and stringent demands in reliability, flexibility,
and scalability, then MOM is the ideal solution.
• MOM-based systems are proficient in coping with traffic bursts while
offering a flexible and robust solution for disperse deployments
• When MOM is used in conjunction with XML messages and web services,
we are able to create highly flexible service oriented architectures.
7
Summary