更新时间:2022-11-03 23:10:58
旧客户端支持 ConnectivityMode
使用TCP,HTTP,HTTPS和 AutoDetect
。 ServiceBus Explorer使用 AutoDetect
,先尝试TCP,然后故障转移到HTTPS,无论您使用的是 TransportMode
( SBMP或AMQP)。
The old client supported ConnectivityMode
using TCP, HTTP, HTTPS, and AutoDetect
. ServiceBus Explorer is using AutoDetect
, trying TCP first and then failing over to HTTPS, regardless of the TransportMode
you were using (SBMP or AMQP).
对于新客户端,这已更改。 TransportMode
现在结合了这两个选项,并提供 Amqp
(基于TCP的AMQP)或 AmqpWebSockets
(基于WebSocket的AMQP)。没有自动检测
模式。您将必须创建您的客户端并将 TransportType
指定为 AmqpWebSockets
绕过阻止的TCP端口5671,而使用端口443。
With the new client this has changed. TransportMode
now combines both options and offers Amqp
(AMQP over TCP) or AmqpWebSockets
(AMQP over WebSockets). There's no AutoDetect
mode. You will have to create your clients and specify TransportType
as AmqpWebSockets
to bypass blocked TCP port 5671 and instead use port 443.