Implementing scatter gather

We're going to use the start orchestration shape to process all of these requests in true parallel. This pattern is commonly referred to as scatter-gather because we scatter the requests out and then gather the responses back together. To do this we will use a self-correlating direct bound port and another orchestration. First we will add this new port to the ReorderCalculations orchestration:

  1. In ReorderCalculations.odx drag a new port to the port canvas.
  2. Name the port Receive_DirectCalculationPort and create a new port type named DirectCalculationPortType.
  3. Set the binding to Direct and choose the Self Correlating radio button.
  4. Rename Operation_1 to ProcessCalculation and set the Message Type of the request to PRP.InventoryManagement.Orchestrations.InventoryNotificationType ...

Get Microsoft BizTalk Server 2010 Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.