不同业务系统集成模式(摘录MSDN)

不同业务系统集成模式(摘录MSDN

 

 

1Point-to-Point Connection

Many integration projects start with the need to connect two systems, and the easiest way to do so is to use the Point-to-Point Connection pattern. A point-to-point connection ensures that only one receiver receives a particular message. For this to work, the sending system must know the location of the receiving node. The sending system often must translate the message into a format that the receiving system understands.

 

2Broker

The Broker pattern and its variants are often used in both application design and integration design. The intent of a broker is to decouple source systems from target systems.

Figure 1 shows the Broker pattern and the three related patterns that refine the basic Broker pattern: Direct Broker, Indirect Broker, and Message Broker.

BrokerIntegrationPattern.gif

.NET Framework remoting is an example of Distributed Object Integration that uses Direct Broker.

 

Systems that use Indirect Broker do not communicate directly with each other. Instead, they communicate through a middleman—the indirect broker. The source system communicates the logical name of the target to the indirect broker. The indirect broker then looks up the target system that is registered under the logical name and passes the communication to the target system. A message broker is a specialized type of indirect broker that communicates by using messages. You can use BizTalk Server 2004/2006 as the component that implements Message Broker.

 

3Message Bus and Publish/Subscribe

The advantage of a message bus is that once it is established, the cost of adding new applications is minimal. A new application can subscribe to bus messages without affecting other subscribers. Because all systems, including the new system, understand common message schemas and command messages, there is no need for additional translation.

 

To use a Message Bus pattern that contains a Publish/Subscribe implementation, a system sends a command message to the message bus. After the message bus receives the message, it is responsible for matching the message against a set of subscribers. The message bus then forwards the message to each of the appropriate subscribers.

 

 

Source URL:

1. Integration Patterns, MSDN, http://msdn2.microsoft.com/en-us/library/ms978718.aspx

2. Implementing Message Broker with BizTalk Server 2004, MSDN,

http://msdn2.microsoft.com/en-us/library/ms978662.aspx

 

 

 

 

原文地址:https://www.cnblogs.com/rickie/p/733791.html