FW:Routing Binary Data...

Most people do not think that BizTalk can be used for processing binary data. Since the passthrough pipeline doesn’t examine the message data, and the BizTalk Messaging Engine uses streams as its data representation, it is quite easy to move binary data from one source to another. If you need to promote properties for an incoming message, you will need to write a custom Disassembler, but if you know the locations, all you need to do is choose passthrough for both the receive and send ports and ensure that the send port has a valid subscription for the message. Most commonly this is done by creating a filter that matches based on BTS.ReceivePortName. If you want to route data based on the MessageType context property, you will need to create a custom pipeline component that promotes a value into the context. By default this will not happen with the pass-through pipeline, as technically there is no message to look at since the data is binary.

 

最通常做法:Send Port 通过Filter BTS.ReceivePortName 订阅.并且要求两端都使用pass-through管道.即中间没有任何处理.只是简单的将数据从Source端搬到Destination端.这种数据没有MessageType.

特别强调的是:pass-through管道中没有任何操作,包括属性的提升.

如果需要作属性的提升,如果需要根据MessageType或Promoted Field作路由,这时候需要写自定义Pipeline Component.

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值