Implementing a Message Fan-Out Scenario
You can use the ServiceBusSample solution to simulate a message fan-out scenario where BizTalk receives a request through a Service Bus queue or topic from a back-office application and sends a notification to multiple front-office applications located in different location via a Service Bus topic. In this context, each subscriber uses a different subscription to receive notifications sent by BizTalk Server.
The following figure shows the architecture a demo that simulates a message fan-out scenario. In this scenario one instance of the client application simulates a back-office application sending requests to BizTalk Server, while the other instances simulate front-office applications that receive notifications of a change of state (for example, if the price of a product has changed).
To set up this scenario, you need to proceed as follows:
Create the individual subscriptions for the requesttopics called, respectively, US, China and UK.
Copy the client application’s configuration file to three different folders called US, China and UK.
Open the configuration files of the three instances and change the listenUri of the subscription service endpoint as follows:
Use a forth instance of the client application to send a message to the BizTalk application, and make sure to select Topic in the Response Methods.