我是 Azure 服务总线的新手。
我正在尝试将消息添加到 Azure 服务总线队列,如下所示
var message = new BrokeredMessage() { Label = inputFileEntity.FileName };
message.MessageId = new Guid().ToString();
message.Properties.Add("FilePath", inputFileEntity.FilePath);
// submit the file for injector
QueueConnector.InputFileQueueClient.Send(message);
我收到如下消息通信异常
Channel Open did not complete within the specified timeout of 00:01:00
当我初始化 QueueClient 时,我什至将操作超时值配置为 10 分钟,仍然是同样的问题
var namespaceManager = CreateNamespaceManager();
namespaceManager.Settings.OperationTimeout = new TimeSpan(0, 10, 0);
在我出错的地方,任何方向或指示都会有很大帮助。