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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top