How to achieve parallel processing in BizTalk Orchestration

Problem

The requirement is very straight , I need to start/execute two sub processes or BizTalk Orchestrations in parallel. Then wait for the response from each orchestration, and then proceed to end. If there is a sequence diagram it would be something

 image

Solution

The first thing which came into my mind is using parallel shape in BizTalk , but they do not start or execute two processes in parallel , Its a common mistake, there is a blog post The parallel shape DOES NOT give you concurrent parallel processing – a common mistake.

Also there is a very good blog post How Parallel Shape works , this is a very good read and explained in much detail about execution of parallel shape.

The solution was to use parallel shape to start two Orchestrations at same time and use ports to pass the response back from the child orchestrations back to the main orchestration.

Using parallel shape with self correlating ports and start orchestration

In Summary

In summary the solution looks like below

  • Main Orchestration Uses a parallel shape to starts two sub orchestrations
  • Main orchestration has two ports for each sub orchestrations to pass back the response. The Post gets passed as parameter in start orchestration shape

 image

  • the port has following setting

image

  • In summary the main orchestration looks like below

image

  • I have used some trace entries in both sub orchestrations so when they starts following comes in the trace

image

both the sub process gets started almost same timestamp .

Hope this helps to someone.

There is more to read

  1. How to Use Self-Correlating Direct Bound Ports

  2. Enterprise Integration Patterns Part-1 – Scatter and Gather using Self Correlating Port

A great article for BizTalk Questions

If your are going for an Interview, These concepts and questions might help you ..

 

http://geekswithblogs.net/LeonidGaneline/archive/2012/01/10/biztalk-advanced-questions.aspx

 

BizTalk HotRod Jan 2011 edition is out

I always like reading HotRod editions. The latest one for Jan 2011 is out , It is available at
http://biztalkhotrod.com/Documents/BizTalkHotrod11_Q4_2010.pdf

There are really good articles in this edition.

 

Installing BizTalk 2010 On A Development Box-1

For building a BizTalk 2010 Development machine following components will be required

  1. Windows 7 ultimate
  2. Visual Studio 2010 professional Edition Trial
  3. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=26bae65f-b0df-4081-ae6e-1d828993d4d0&displaylang=en

  4. SQL Server 2008 Enterprise Edition Trial
  5. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=265f08bc-1874-4c81-83d8-0d48dbce6297&displaylang=en

  6. SQL Server 2008 SP1
  7. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&displaylang=en

  8. BizTalk Server 2010 Developer Edition
  9. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=938102b8-a677-4c20-906d-f6ae472b3a6a

ISO Image from Folder In Mac

Launch Terminal

Go to the Folder where your “nputFolderName” is type following command

hdiutil makehybrid -o .iso

Where InputFolderName is the folder which you want to create as ISO Image on MAC. This will create a new ISO file of the folder.