Book Image

BizTalk Server 2010 Cookbook

By : Steef-Jan Wiggers
Book Image

BizTalk Server 2010 Cookbook

By: Steef-Jan Wiggers

Overview of this book

BizTalk enables the integration and managment of automated business processes within or across organizational boundaries. To build a solid BizTalk solution, deploy a robust environment, and keep it running smoothly you sometimes need to broaden your spectrum, explore all possibilities, and choose the best solution for your purpose. By following the recipes in this book you will gain required knowledge and succeed in your implementation. With BizTalk Server 2010 Cookbook, you can leverage and hone your skills. More than 50 recipes will guide you in implementing BizTalk solutions, setting up a robust and well performing BizTalk environment, and choosing the right solution for monitoring it. As a developer or administrator you greatly benefit from taking these recipes to work. In this book a developer and administrator will see how to deploy, build, and maintain a BizTalk environment. How to apply patterns for robust orchestrations, messaging and testing. Administrators will learn to set up an environment using Microsoft best practices and tools to deliver a robust, performing and durable BizTalk environment. Besides setting up their environments administrators can also decide through a number of recipes how to monitor and maintain the environment. A developer can contribute to a healthy environment by implementing instrumentation in artefacts, applying well suited pattern(s) and testing the solutions built.
Table of Contents (17 chapters)
BizTalk Server 2010 Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

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 splitter pattern recipe. For instance, you can use envelope debatching. There will be orchestration(s) subscribing to the resulting messages, which can be any kind of orchestration(s) processing the messages. Results of processing can be aggregated and...