我们有一个 NServiceBus 5.2.14(这是可用的最新稳定版本)端点。终结点使用 WindowsAzure.ServiceBus 客户端库通过 HTTPS 连接到 Azure 服务总线队列。
但是尝试连接失败,因为 NServiceBus 版本 5.2.14 仅与 WindowsAzure.ServiceBus 客户端库版本 2.8.2 兼容,该版本不支持 HTTPS 连接模式。仅 WindowsAzure.ServiceBus 客户端库版本 3.0.0 及更高版本支持 HTTPS 连接模式。不幸的是,由于兼容性问题,我们无法使用 3.0.0 及更高版本,也无法使用 NServiceBus 版本 6.0.0,因为它仍处于 Beta 版本。
- 那么,这是 NServiceBus 中的已知错误吗?
- 还有其他人经历过这种情况吗?
- 如果是,有什么解决方法可以在不使用 HTTPS 的情况下保持安全地连接到 Azure?
谢谢
公羊
最佳答案
连接仍然安全。 HTTP ConnectivityMode
says
HTTP mode. Listeners attempt an HTTP connection followed by an HTTPS connection with the Service Bus service, then wait for messages. This might allow you to more easily work around TCP port constraints.
关于 NServiceBus 6.0 - 它将使用 NServiceBus Azure 服务总线版本 7,该版本基于 Microsoft ASB 库版本 3 及更高版本。
关于azure - 使用 WindowsAzure.ServiceBus 2.8.2 时,NServiceBus 5.2.14 不支持 HTTPS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36894124/