【发布时间】:2021-05-28 18:19:20
【问题描述】:
我们正在使用 @azure/service-bus 包来侦听 Node.js 应用程序中的 Azure 服务总线消息。不幸的是,默认端口 5671 在我们的环境中被阻止。
根据documentation 和this question,连接模式可以更改为 HTTPS(端口 443),至少从 .NET(可能还有 Java)可以这样:
ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Https;
我们如何在基于 Node.js 的应用程序中实现相同的功能?
【问题讨论】:
标签: node.js azure azureservicebus