I am new to Azure Service Bus.
I am trying to add a message to the Azure Service Bus Queue as shown below
var message = new BrokeredMessage() { Label = inputFileEntity.FileName };
message.MessageId = new Guid().ToString();
message.Properties.Add("FilePath", inputFileEntity.FilePath);
QueueConnector.InputFileQueueClient.Send(message);
I get a MessageCommunication exception as below
Channel Open did not complete within the specified timeout of 00:01:00
When I initialize QueueClient, I even set the work timeout value to 10 minutes, another problem
var namespaceManager = CreateNamespaceManager();
namespaceManager.Settings.OperationTimeout = new TimeSpan(0, 10, 0);
If I am mistaken, any direction or pointers will be very helpful.
Gokul source
share