message oriented model (mom). slide 2cite 4420 message oriented model message-oriented model (mom)
TRANSCRIPT
![Page 1: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/1.jpg)
MESSAGE ORIENTED MESSAGE ORIENTED MODEL (MOM)MODEL (MOM)
![Page 2: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/2.jpg)
Slide 2
Message-Oriented Model (MOM)Message-Oriented Model (MOM)
![Page 3: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/3.jpg)
Slide 3
Elements of the MOMElements of the MOM
• Correlation• Intermediary• Message• Message envelope• Message exchange pattern• Message header
• Correlation• Intermediary• Message• Message envelope• Message exchange pattern• Message header
![Page 4: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/4.jpg)
Slide 4
Elements of MOM (Cont’d)Elements of MOM (Cont’d)
• Message description language
• Message identifier
• Message path
• Message recipient
• Message sender
• Message description language
• Message identifier
• Message path
• Message recipient
• Message sender
![Page 5: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/5.jpg)
Slide 5
Elements of MOM (Cont’d)Elements of MOM (Cont’d)
• Message transport
• Reliable messaging
• Message transport
• Reliable messaging
![Page 6: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/6.jpg)
Slide 6
CorrelationCorrelation
• A means of associating a message with a context
– The message received is the one expected by this message recipient
Usually accomplished with a message identifier
• A means of associating a message with a context
– The message received is the one expected by this message recipient
Usually accomplished with a message identifier
![Page 7: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/7.jpg)
Slide 7
IntermediaryIntermediary
• An agent that is both a message recipient and a message sender
• May have partial access to the message it processes
• Forwards the message along the message path
• An agent that is both a message recipient and a message sender
• May have partial access to the message it processes
• Forwards the message along the message path
![Page 8: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/8.jpg)
Slide 8
MessageMessage
• A unit of data sent from one agent to another
• May be part of a message exchange pattern
• Described by a message description language
• A unit of data sent from one agent to another
• May be part of a message exchange pattern
• Described by a message description language
![Page 9: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/9.jpg)
Slide 9
Message (Cont’d)Message (Cont’d)
• Has a message sender
• Has a message identifier
• May have a message content
• Has zero or more message headers
• May have a message envelope
• Has a message sender
• Has a message identifier
• May have a message content
• Has zero or more message headers
• May have a message envelope
![Page 10: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/10.jpg)
Slide 10
Message EnvelopeMessage Envelope
• Is meta-data associated with a message
• Contains address information about intended recipients
• Contains the body of the message
• Is meta-data associated with a message
• Contains address information about intended recipients
• Contains the body of the message
![Page 11: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/11.jpg)
Slide 11
Message Exchange Pattern (MEP)Message Exchange Pattern (MEP)
• A template describing a generic pattern for the exchange of messages between agents
• A feature of the architecture• Should have a unique identifier• Is the life cycle of a message exchange
• A template describing a generic pattern for the exchange of messages between agents
• A feature of the architecture• Should have a unique identifier• Is the life cycle of a message exchange
![Page 12: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/12.jpg)
Slide 12
MEP (Cont’d)MEP (Cont’d)
• Describes the temporal and causal relationships, if any, of multiple messages exchanged in conformance with the pattern
• Describes the normal and abnormal termination of any message exchange conforming to the pattern
• Realizes the message correlation• Describes a service invocation• Must be mapped to a protocol
• Describes the temporal and causal relationships, if any, of multiple messages exchanged in conformance with the pattern
• Describes the normal and abnormal termination of any message exchange conforming to the pattern
• Realizes the message correlation• Describes a service invocation• Must be mapped to a protocol
![Page 13: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/13.jpg)
Slide 13
Message HeaderMessage Header
• Is part of a message• May contain routing information• May contain message security info• May contain message orchestration
information• May contain message transaction context
• Is part of a message• May contain routing information• May contain message security info• May contain message orchestration
information• May contain message transaction context
![Page 14: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/14.jpg)
Slide 14
Message OrchestrationMessage Orchestration
• Encapsulates and executes business process logic
• Can integrate with other applications to retrieve additional data
• Can invoke broker component• Can use application logic• Can reject data that fails validation
• Encapsulates and executes business process logic
• Can integrate with other applications to retrieve additional data
• Can invoke broker component• Can use application logic• Can reject data that fails validation
![Page 15: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/15.jpg)
Slide 15
Message Description LanguageMessage Description Language
• Describes the structure of the message
– Types of the elements– How recipients and senders are identified– Which headers are associated with the
message
• Describes the structure of the message
– Types of the elements– How recipients and senders are identified– Which headers are associated with the
message
![Page 16: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/16.jpg)
Slide 16
Message IdentifierMessage Identifier
• A field that uniquely identifies a message• Allows messages to be correlated within an
extended transaction• Supports message reliability• Supports message management and
accountability of services
• A field that uniquely identifies a message• Allows messages to be correlated within an
extended transaction• Supports message reliability• Supports message management and
accountability of services
![Page 17: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/17.jpg)
Slide 17
Message PathMessage Path
• Is a sequence of agents
• Contains zero or more intermediaries
• Has a unique originator and recipient
• Message may be processed by a number of interdediaries
• Is a sequence of agents
• Contains zero or more intermediaries
• Has a unique originator and recipient
• Message may be processed by a number of interdediaries
![Page 18: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/18.jpg)
Slide 18
Message RecipientMessage Recipient
• A agent that receives a message
• May be an intermediary
• Has an agent identifier
• Agent identifier is not used for broadcast messages
• A agent that receives a message
• May be an intermediary
• Has an agent identifier
• Agent identifier is not used for broadcast messages
![Page 19: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/19.jpg)
Slide 19
Message SenderMessage Sender
• The agent that transmits a message• Sender may be an intermediary• May be identified by its agent identifier
in the message envelope• Identifier not present in anonymous
interactions
• The agent that transmits a message• Sender may be an intermediary• May be identified by its agent identifier
in the message envelope• Identifier not present in anonymous
interactions
![Page 20: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/20.jpg)
Slide 20
Message TransportMessage Transport
• A mechanism that may be used by agents to deliver a message
• Examples:– HTTP over TCP– SOAP transport– Message-oriented middleware
• A mechanism that may be used by agents to deliver a message
• Examples:– HTTP over TCP– SOAP transport– Message-oriented middleware
![Page 21: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/21.jpg)
Slide 21
Message Transport (Cont’d)Message Transport (Cont’d)
• Responsibilities:– Timeliness of transport– Privacy– Reliability
• Responsibilities:– Timeliness of transport– Privacy– Reliability
![Page 22: MESSAGE ORIENTED MODEL (MOM). Slide 2CITE 4420 Message Oriented Model Message-Oriented Model (MOM)](https://reader036.vdocuments.us/reader036/viewer/2022081419/56649ed55503460f94be62b9/html5/thumbnails/22.jpg)
Slide 22
Reliable MessagingReliable Messaging
• A key infrastructure-level component of reliability
• Realized by a combination of message acknowledgement and correlation
• A key infrastructure-level component of reliability
• Realized by a combination of message acknowledgement and correlation