FW:Pipeline Stages

BizTalk消息处理管道详解
本文详细介绍了BizTalk Server中的接收和发送管道机制。接收管道包括解码、拆分、验证及解决方等阶段,用于逻辑处理传入的消息;发送管道则通过预组装、组装和编码等步骤准备消息以便发送出去。这些阶段确保了消息能够按照业务需求被正确处理。

Receive Pipeline Stages
Receive pipelines have specific stages that help in processing the message in a logical fashion. Each of the stages of the pipeline is designed to perform a specific task:
• Decode: This stage is used to perform operations that are required to “read” the incoming message. Think of the Decode stage as where you would perform things like decryption,
decompression, and any processing logic that will be required as input data for the subsequent stages.
• Disassemble: Components tagged as Disassemblers are designed to produce multiple messages based on the input message. Disassemblers often are used to de-batch the
incoming messages into multiple smaller messages. Each of the messages produced by the Disassembler are then passed to the remaining stages within the pipeline.
• Validate: This stage is used to ensure the message that has been decoded and potentially produced by the Disassembler is considered to be “valid” according to the pipeline
rules. Often this involves verifying the XML schema of the message to be of a certain type. Custom validators are often created for custom business-level validation logic (i.e., ensuring that the purchase order number of an incoming message is valid and exists within a database).
• Resolve Party: This stage is used often in trading partner exchange scenarios. This stage is usually used to examine the digital certificates of a signed message to ensure the validity of the sending party.

 

receive_pipeline_designer_stages_thumb%5B12%5D.jpg

Figure 1 Receive Pipeline designer stages

 

Send Pipeline Stages
Send pipelines have specific stages that are related to preparing the message to be sent out of BizTalk. The surface of the Send Pipeline Designer is shown in Figure 2. Each of the stages
of the pipeline are designed to perform a specific task:
• Pre-Assemble: This stage is often used to gather any specific information that will be needed by an Assembler and add it to the message.
• Assemble: Assemblers are responsible for combining multiple smaller messages into one large message. This is often the case when you are aggregating several messages
into a batch. Assemblers are also often used in flat-file conversion and EDI scenarios to aggregate the outbound flat file into one large batched file.
• Encode: Encoders are responsible for writing the message in a fashion so that it can be read by the downstream system. Often this involves ensuring the proper character set is used, compressing the message, MIME encoding, or attaching a digital certificate.

 

send_pipeline_designer_stages_thumb%5B9%5D.jpg

Figure 2 Send Pipeline designer stages

转载于:https://www.cnblogs.com/upzone/archive/2007/04/02/696730.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值