Azure Service Bus Emulator [closed]

对着背影说爱祢 提交于 2019-12-08 15:50:02

问题


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]


回答1:


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




回答2:


This has been a long-standing issue, so I think it's worthwhile to offer an update to the state of things right now.

There isn't a local emulator available for Azure Service Bus yet, however some people have started upvoting this github ticket on the Azure Service Bus project.

If you've landed on this issue and are looking for an emulation option, I urge you to put your upvote on the original problem description.



来源:https://stackoverflow.com/questions/36178656/azure-service-bus-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!