开发者

How to find the Port ID in Biztalk 2010?

I have configured a receiving port named it "SalesOrder" It contains a receiving location of File Type.

Now when i use 开发者_如何学运维this receiving port in a Send port i define a filter like this :

BTS.ReceivePortName==SalesOrder

I start the ports and it works just fine.

Now question is if i want to us the filter like this :

BTS.ReceivePortID=="Where do i get the Port ID"

How can i find the PortID in Biztalk 2010.


There isn't an easy way of getting to the ReceivePortID. The id will also change when creating, deleting, setting up new port and of course as you move you configuration between environments. It's much more common practice to set up these kind of filter based on ReceivePortName instead as this (hopefully) doesn't change as much.

Best practice in my opinion is however to not use these kind of filters that are tied to the configuration but to rather set up filters based on message types and order other promoted properties. Using promoted properties over configuration will also create a more flexible and more loosely coupled solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜