One of the big problems with BizTalk Server 2010 and earlier is that it isn’t possible to change which host you want your dynamic send port to run on. This is now possible in BizTalk Server 2013 and this will show you how to do it.

I will just do a very simple sample where I receive a file and send it to a hardcodet destination. In really life this might depend on the message or the content of the message or it can be something you look up in a database.

So first the orchestration:

Where the DySP port is set to have a dynamic binding. You configure the DySP port inside the Expression_1 shape like this:

And now you are ready to build and deploy. Once you have deployed the solution it is time to configure the send handler for you dynamic send port. You open you send port, where you see a button that lets you configure your send handler:
After you click the Configure button in the screen above you will be able to configure on which host that you want your messages to be send. There an option for every adapter that you have installed in your environment as in first on runtime that we know which adapter to use:
This feature alone will be enough to upgrade to BizTalk Server 2013 if you are using Dynamic send ports a lot as you will have a lot more control over where your workload gets executed. 
Random posts: