This sample demonstrates communication between MSMQ and the Service Bus using a bridge.

There are 3 executables in this sample. The intention of the sample is to showcase a simple implementation of MSMQ-to-ServiceBus bridge using the Bridge project. The MsmqTestClient and ServiceBusTestClient projects are client projects used for testing the bridge.

The functionalities of the executables are:

The sequence of steps performed by the sample are as below:

 
Note: The sample demonstrates simple communication between MSMQ and Service Bus. It does not deal with acknowledgements for the messages being sent.
 

Prerequisites

If you haven't already done so, please read the release notes document that explains how to sign up for a Windows Azure account and how to configure your environment.

To install MSQM, please refer to Installing Message Queuing (MSMQ).

Running the Sample

After building the solution, run the executables in the following order.

  1. MsmqTestClient.exe
  2. Bridge.exe
  3. ServiceBusTestClient.exe

Each will prompt for a Service Bus service namespace, issuer name (e.g. "owner"), and issuer key.

When finished, the MsmqTestClient will prompt to press ENTER to clean up queues and exit the application.



Did you find this information useful? Please send your suggestions and comments about the documentation.