Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test Azure Service Bus locally without any subscription or login

Is there a way to play with and discover Azure Service Bus on the local emulator without registering to the real Azure Services?

I was following a tutorial on the use of the Azure Service Bus but at a certain point a Namespace and an Issuer Name and Key is required. I don't have that data since I'm not registered to Azure Services and I don't want to do it now (I will get my trial when I will feel ready to develop/test something real).

like image 393
Alex Avatar asked Oct 26 '12 13:10

Alex


People also ask

How do I access Azure Service Bus?

In order to connect to Azure Service Bus go to Azure portal, open the Service Bus namespace you want, then go to: Settings -> Shared access policies -> RootManageSharedAccessKey -> Primary connection string.

How do I check my Azure Service Bus queue?

With the peek functionality, you can use the Service Bus Explorer to view the top 100 messages in a queue, subscription or dead-letter queue. To peek messages, select Peek Mode in the Service Bus Explorer dropdown.

How do I authenticate Azure Service Bus?

There are two ways to authenticate and authorize access to Azure Service Bus resources: Azure Active Directory (Azure AD) and Shared Access Signatures (SAS). This article gives you details on using these two types of security mechanisms.

How do I connect to Azure Service Bus queue?

To get Azure Service bus connection string, Sign-in to Azure portal. Select the resource group in which the Service bus is residing. Select the namespace of the service bus queue/topic for which we need the connection string.


1 Answers

If you want to use the Brokered Messaging capabilities (Queues, Topics and Subscriptions) then you can install Service Bus for Windows Server, which will allow you to test locally.

http://msdn.microsoft.com/en-us/library/windowsazure/jj193022(v=azure.10).aspx

For relayed messaging you will have to use an Azure account. The costs of using the relay service for development and testing are minimal, so it may be worth creating a pay-as-you-go subscription for this.

like image 163
Alan Smith Avatar answered Sep 17 '22 12:09

Alan Smith