Azure Service Bus Emulator

I am developing a WebJob that uses a service bus queue, but I do not have an Azure account.

Is there some kind of Service Bus emulator for testing a web blog? I need to take a queue entry to simulate [ServiceBusTrigger]

+12
emulation azure azure-webjobs azure-servicebus-queues
source share
3 answers

As far as I know, there is no service bus emulator. 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 the GitHub question is on https://github.com/Azure/azure-service-bus/issues/223 . Feel free to leave comments and subscribe to these feedback channels.

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

If you run the web job code locally, the WebJob trigger can connect to the local Azure storage emulator. Please see https://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-webjobs-sdk/#workerrole

+11
source share

This was a long-standing problem, so I think it’s worth proposing to update the situation right now.

There is no local emulator for Azure Service Bus, however, some people started voting for this github ticket in the Azure Service Bus project.

If you encounter this problem and are looking for an emulation option, I urge you to leave your opinion about the original description of the problem.

+1
source share

We are developing a product using MassTransit . We run it on top of the RabbitMQ transport locally on the development computers and on the CI server, but in cloud environments we run it on top of the Azure Service Bus.

Here is a Gist with some snippets showing how easy it is to switch between transports at startup.

0
source share

All Articles