不同业务系统集成模式(摘录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

 

 

 

 

posted @   Rickie  阅读(777)  评论(1编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示