Yossi Dahan [BizTalk]


Monday, April 02, 2007

Comment on Kevin Lam's great post on dynamic direct bound ports

I would have left a comment on his blog entry , but these have been disabled.

I'll start by saying that this whole series of post by Kevin is great, and I found that last one particulariliy interesting.

Recently I was sent back to it by a question in the newsgroups so I looked again at self correlating dynamic ports on which I have a small comment -

One of the exmples given is that when sending (and receiving) messages in a loop - in this case,as you cannot initialise a correlation set in the loop you have to initialise it first outside the loop, and then "follow" on it in each subsequent send to make sure properties get promoted correctly, and so using a dynamic self correlating port can save that extra send shape outside the loop as there's no need to inialise any correlation set.

My comment is that while this is great if you don't need any other promoted properties to route the message to it's destination, I suspect this is rarely the case or else you would not use direct bound ports.

If you do need to promote other properties, you probably still need to inialise a correaltion set, and so you probably still need that send shape outside the loop.

In this case, having the dynamic port is nice, as it may save you the correlation set on the other side, but does not do much else for the sending orchestration.

Just my two cents.



  • Hi,
    i want to create a dynamic send port using CRM adapter 4.0 for BTS 2006 to connect different organizations at run time. but it seems that this adapter doesn't support dynamic port. So i am thinking of writing an wrapper around the existing adapter.
    Can you please help me in this.
    I want to know:
    1.IS BTS CRM adapter supports CRM dynamic send port?
    2.Is this possible to write wrapper around the existing adapter?
    3.If yes, what is the procedure or any guidelines to write it?
    4.I have to write compltely new custom adapter for this?

    Thanks in advance.

    By Blogger koOldeEp, at 08/01/2009, 12:37  

  • I've posted some pointers on your post on StackOverflow thread here;

    Contact me offline if these don't help and we'll try to have a look.

    By Blogger Yossi Dahan, at 09/01/2009, 09:11  

  • Sorrry - link did not work the url for the SO thread is here -

    By Blogger Yossi Dahan, at 09/01/2009, 09:13  

Post a Comment

<< Home