I am having a following code snippet in my application to send a message to the Azure service bus topic queue. Randomly I am getting the generic ServiceBusException during sending messages.
var serialized = JsonConvert.SerializeObject(message);
var _client = new TopicClient(connectionString, $"{queuePrefix}{queueName}");
var m = new Message(Encoding.ASCII.GetBytes(serialized))
{
MessageId = messageId,
ContentType = "application/json"
};
await RetryHelper.WithRetries(async () =>
{
await _client.SendAsync(m);
}, new Common.RetryPolicy(3, TimeSpan.Zero, typeof(ServiceBusTimeoutException)));
Here is my exception mesage,
The service was unable to process the request; please retry the operation. For more information on exception types and proper exception handling, please refer to http://go.microsoft.com/fwlink/?LinkId=761101 TrackingId:24e3ca8e-a74f-4f1b-a0e6-acf4e98a0bdc_G9, SystemTracker:client-link78653, Timestamp:2019-01-06T01:35:50
Microsoft.Azure.ServiceBus.ServiceBusException
As the exception is not specific as listed in this page - https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-exceptions, I am finding hard to understand the root cause of the exception and take corrective measures.
I would appreciate any information to investigate further.