Configuring content-based routing

The following is a walk-through of a routing sample in BizTalk. The sample is done by using the FILE Adapter only, and coding is not done. The next chapter will introduce us to how to create various BizTalk artifacts inside Visual Studio, but for now, let's look at an example showing how BizTalk routes messages.

The setup is as follows:

  • We receive files from both partner A and partner B in different file folders
  • These files need to be routed to both System I and System II

Creating folders and Applications

The first step is to create a Receive Port with two different Receive Locations. We should be able to pick up messages at two different file locations:

  • C:\BTS2013CertGuide\Chapter01\Example01-Messaging\FileDrop\PartnerA\Inbox ...

Get (MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide Second Edition 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.