Enterprise Integration Patterns

The article shows two Enterprise Integration Patterns based on BizTalk.

 

1. Content Enricher Pattern

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. For example, incoming Address messages may just contain the ZIP code because the designers felt that storing a redundant state code would be superfluous. Likely, another system is going to want to specify both a state code and a ZIP code field. Yet another system may not actually use state codes, but spell the state name out because it uses free-form addresses in order to support international addresses.

DataEnricher.gif

Use a specialized transformer, a Content Enricher, to access an external data source in order to augment a message with missing information.

 

The Content Enricher uses information inside the incoming message (e.g. key fields) to retrieve data from an external source. After the Content Enricher retrieves the required data from the resource, it appends the data to the message.

 

There is a relevant demo at the codeproject.com.

http://www.codeproject.com/useritems/EnricherPattern.asp

By Naveen Karamchetti.

 

2. Claim Check Pattern

Sometimes, we want to remove fields only temporarily. For example, a message may contain a set of data items that may be needed later in the message flow, but that are not necessary for all intermediate processing steps. We may not want to carry all this information through each processing step because it may cause performance degradation and makes debugging harder because we carry so much extra data.

ClaimCheckPattern.gif

Store message data in a persistent store and pass a Claim Check to subsequent components. These components can use the Claim Check to retrieve the stored information.

 

There is a relevant demo at the codeproject.com.

http://www.codeproject.com/useritems/ClaimCheckPattern.asp

By Naveen Karamchetti.

 

 

References:

1. Content Enricher Pattern, Enterprise Integration Patterns,

http://www.enterpriseintegrationpatterns.com/DataEnricher.html

2. BizTalk Enterprise Integration Patterns - Part 1

http://www.codeproject.com/useritems/EnricherPattern.asp

3. Claim Check Pattern, Enterprise Integration Patterns,

http://www.enterpriseintegrationpatterns.com/StoreInLibrary.html

4. BizTalk Enterprise Integration Patterns - Part 2

http://www.codeproject.com/useritems/ClaimCheckPattern.asp

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值