Introduction

Azure Service Bus is a message queuing platform built by Microsoft that provides Relay and Brokered messaging capabilities.  It is a feature rich and matured service that can provides a means for decoupled systems to exchange information independently.

Azure’s Service Bus is one of the many Platform as a Service (PaaS) services and can be as simple as a single queue or highly complex message workflow with a near infinite number of interrelated queues, topics and subscriptions.

Microsoft Azure’s Service Bus is a cloud service that helps to share data between decoupled systems. In this article, we are going to learn how to create Azure Service Bus and use it with BizTalk Server for Hybrid Integration.

This article will focus on creating Non-partitioned Queues as BizTalk Server does not  support interaction with queues or topics that have partitioning enabled .  

Steps to be followed

This is the step by step guide for the developer who is using and creating Service bus for BizTalk Communication .

To Create Azure Service Bus you need to have a valid MSDN subscription:

  • Steps to Create Azure Service Bus with Azure Portal
  • Login to https://manage.windowsazure.com/ Classic Portal
  • In the left navigation side of the portal, click on Service Bus.
  • In the lower side of the portal, click Create

In the Add a new namespace dialog, enter a namespace name which is valid.

From Azure system side it will checks to see if the name is available and valid.

If namespace name is available,  the next option is to choose the country or region in which your namespace should be hosted. It is always advisable to make sure you use the same country/region in which you are deploying your compute resources.

Once you have provided all the information required a new Service Bus will be hosted on Azure to be fully utilized for the queues and topics . As an integration developer it will be the entry point for cloud based integration using Azure Service Bus .

  • Create Azure Service Bus Queues for Message Publish and Subscribe

The process of creating Service bus Queues is very simple and you can achieve it  with some clicks in the Azure portal .

  Now the process starts -->

Click on the newly created Azure Service Bus to navigate to the specific Service Bus home page.

You need to create custom queues within your Azure Service Bus Queue as I have already mentioned, the reason being that BizTalk Server does not  support interaction with queues or topics that has partitioning enabled.

 You need to populate the Service Bus queue with correct information.

Note: Wait here  Don’t go with Quick Create for service Bus Queue. You need to disable the partitioning and it require you go ahead with Custom Creation of Queues here

Disable Partitioning for the Create Queue  while you try to configure your Service Bus queues on Azure  

Once you have created Azure Service Bus queues you are ready to go ahead to use it in BizTalk with SB messaging Adapter.

To publish a message to Azure Service Bus from BizTalk you need to create a one way send port within BizTalk Admin Console

Change the Configuration properties of the send port as per your newly created service Bus.

Select shared access signature in the service authentication section and provide the Shared access name of your Service Bus and key value.  

See Also

 Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.