Azure Service Bus Emulator

Leandro Tuttini picture Leandro Tuttini · Mar 23, 2016 · Viewed 20.8k times · Source

I am developing a WebJob, which uses service bus queue, but I don't have an Azure account.

Does there exist some Service Bus emulator to test the webjob ? I need to take the queue input to simulate the [ServiceBusTrigger]

Answer

Benjamin Talmard picture Benjamin Talmard · Mar 23, 2016

As far as I know, there is no Service Bus emulator. A feedback on UserVoice is open at https://feedback.azure.com/forums/216926-service-bus/suggestions/2565564-provide-a-service-bus-emulator-on-a-local-computer and a GitHub issue at https://github.com/Azure/azure-service-bus/issues/223. Don't hesitate to upvote and subscribe to these feedback channels.

However, the Azure Storage Emulator includes an emulator for Azure Storage queues if this can be an alternative: https://azure.microsoft.com/en-us/documentation/articles/storage-use-emulator/

If your run your Web Job code locally, the WebJob trigger might be able to connect to the local Azure Storage Emulator. Please see https://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-webjobs-sdk/#workerrole