F3 Flashcards

1
Q

Message-oriented integration (MoSI)

A

Messages contain data and metadata

Three types of messages:
- Commands messages – a call to a function
– Document messages, e.g., order messages with details
– Event messages – e.g., checking availability to send message

Messaging supports both functional and data integration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

fattar inte messaging

A

fattar inte messaging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Patterns helps to

A

– Understand the solutions better (i.e. through pattern’s structuring), and
– Standardize the solutions of different SI tools/vendors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Core integration pattern groups for messaging:

A
  • Message routing patterns – discuss different mechanisms to direct messages from a sender to the correct receiver.
  • Message transformation patterns – change the content of the message due to
    different needs of the sender and the receiver applications. The existing data may be removed, or changed, or replaced, or new data may be added.
  • Message management patterns – they facilitate complex messaging systems running by dealing with error conditions, performance bottlenecks, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Pattern: Router

A

Problem: How to handle a situation in which business data (or function) is spread across multiple systems?

Motivation: in many enterprise integration scenarios more than one inventory system exists with each system being able to handle only specific items.

Solution: Use a Content-based Router to route each message to the correct message recipient based on the message’s content.

Related patterns: “Pipes and Filters”, “Sequencer”, “Aggregator”…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Pattern: Enricher

A

Problem: How do we communicate with another system if the message
originator does not have all the required data available?

Motivation: when sending messages from one system to another it is common for the target system to require more information than the source system can provide.

Solution: use Content Enricher to add data (computation / environment / another system) in order to augment a message with missing information.

Related patterns: “Content Filter”, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Pattern: Message History

A

Problem: How can we effectively analyze and debug the flow of messages in a loosely coupled system?

Motivation: message recipient generally does not know nor care which application put the message on the channel. If we do not know which application published a message it is difficult to correct a problem with the message.

Solution: attach a Message History to the message, listing all applications that the message passed through since its origination.

Related patterns: “Control Bus”, “Message Header”, “Test message”…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Message-Oriented Middleware - MOM

A

in messaging the logic for integration is placed separately

MOM is configured with the queues that define the paths of communication between the integrated applications:
– A queue can connect 2 applications, or even more (publish-subscribe).
– MOM handles the sending and receiving of messages; it may even change messages.
– The main task is to move messages in a reliable fashion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Messaging

A

In messaging, applications do not communicate with each other directly and do not have a dedicated communication link established between them - they communicate indirectly through a queue.W

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a queue?

A

A queue (channel) behaves as a collection of messages that can be shared across multiple systems (applications).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Advantages Messaging/MOM

A

Reliability: MOM can guarantee the delivery of a message to the
destination system by persisting the message and continuously trying to complete the delivery.

Loose-coupling: MOM also solves the problem of integrating the
applications designed to run disconnected from the network.

Scalability: Due to a high decoupling of the source and destination applications, there is no problem of overloading the receiver. MOM delivers messages to the destination when it can process them. The sender is unaffected, because the messaging is asynchronous.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Disadvantages Messaging/MOM

A

-MOMs need to be understood, learnt; or even developed.
– Not the best choice when synchronous communication is desired.
– As with DO, the used middleware decreases the overall reliability of the integration between applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly