Hi,

I have been working on Biztalk from last 1yr. Recently I read about Role links. After I came to know about that, I am totally confused to decide which one suits best to fulfill my requirement.

My Requirement : It is very simple. I am getting an order as a input message, I need to send it to few trading partners after applying a business logic. The input message it self has some info in one field to decide to which trading partner it needs to sent.

Ex : If it trading partner 'A' ---- I need to send it to one destination folder using file adapter
If it trading partner 'B' ---- I need to send it to one destination using ftp adapter
If it trading partner 'c' ---- I need to send it to one destination using some other adapter.

As per my understnading I can do it in three ways.

Dynamic Binding : I will create a dynamic port, and I will store all the data (transport protocal, destination details) for all trading partners in a config file. I will get the data from config file as per the input data and assign it one field in the destination message, and will do the following

MySendPort(Microsoft.XLANGs.BaseTypes.Address) = outputmsg.destination.


Direct Binding : I will publish the message to message box and create a send ports in the admin console with the filters.


I think direct binding is preferrable one to dynamic, because in case if u have to add new trading partners in future you need to update the orchestration and need to deploy the whole proj.

Role Links :
Using Role links also I can implement the same.

But I want to know which one is best in these three. I read few web pages which mentioned role links are preferrable to Direct and Dynamic bindings. I am really confused how role links are better than direct.

Can anyone please tell me, which one suits best in my requirement and why??

Thanks in advacne.

Best Regards,
Srikanth.