Developing an asynchronous aggregation pattern

An asynchronous aggregation pattern continues where the previous splitter pattern ended. By implementing this pattern, you can aggregate results of processed, smaller messages into a large message. Each processed message represents an individual unit of work that has no dependency on other messages. It can be useful when a client sends a batch to be processed and expects a batch response, with results for each message in the batch.

Getting ready

Open Visual Studio 2010 and create a solution for the debatching process. For reference, you can download the source code (BTS.Cookbook.AsyncAggPattern) belonging to this chapter.

How to do it...

First, you will debatch the message using the Implementing the

Get BizTalk Server 2010 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.