问题描述
我正在开发使用服务总线队列的WebJob
,但是我没有Azure帐户.
I am developing a WebJob
, which uses service bus queue, but I don't have an Azure account.
是否存在一些用于测试Webjob的Service Bus
模拟器?我需要接受队列输入来模拟[ServiceBusTrigger]
Does there exist some Service Bus
emulator to test the webjob ?I need to take the queue input to simulate the [ServiceBusTrigger]
推荐答案
据我所知,没有服务总线模拟器.在 https://feedback.azure.com/forums/216926-service-bus/suggestions/2565564-provide-a-service-bus-emulator-on-a-local-computer 和GitHub问题,网址为 https://github.com/Azure/azure-service -bus/issues/223 .不要犹豫,投票并订阅这些反馈渠道.
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.
但是,如果可以替代,Azure存储模拟器包括用于Azure存储队列的模拟器: https://azure.microsoft.com/zh-cn/documentation/articles/storage-use-emulator/
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/
如果在本地运行Web作业代码,则WebJob触发器可能能够连接到本地Azure存储模拟器.请参阅 https://azure.microsoft. com/en-us/documentation/articles/websites-dotnet-webjobs-sdk/#workerrole
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
这篇关于Azure服务总线模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!