Azure / Azure/azure-service-bus-java
"com.microsoft.azure.servicebus.primitives.TimeoutException: Send operation timed out at 2019-01-28T15:08:36.149+05:30[Asia/Kolkata]., errorContext[NS: xxx.servicebus.windows.net, PATH: xxxxxx-ba59-4957-9c92-xxxxxxxxx, REFERENCE_ID: 975311_33f8560710de40f9942328e2e993b68f_G18, LINK_CREDIT: 592]"
- Dominant language
- Java
- Stars
- 62
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
**Focus on exceptions**
We are trying to send message to the topic in our application.
While sending the message, we receive the below mentioned exception/error and the application goes down.
errorContext[NS: ******-*******.servicebus.windows.net, PATH: *******-ba59-4957-9c92-*********, REFERENCE_ID: 195499_38d4306434c64134a9516e29698eb33f_G28, LINK_CREDIT: 640]
at com.microsoft.azure.servicebus.primitives.CoreMessageSender.throwSenderTimeout(CoreMessageSender.java:887) ~[azure-servicebus-1.2.11.jar:?]
at com.microsoft.azure.servicebus.primitives.CoreMessageSender.access$500(CoreMessageSender.java:59) ~[azure-servicebus-1.2.11.jar:?]
at com.microsoft.azure.servicebus.primitives.CoreMessageSender$3.run(CoreMessageSender.java:260) ~[azure-servicebus-1.2.11.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_161]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_161]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_161]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_161]
... 1 more
**Expected behavior**
Even if the timeout happened, after the application's retrial mechanism of 3 times, not all messages should be failed.
**Observed behavior**
Timeout exception is thrown from azure SDK
**Environment (please complete the following information):**
- OS: Linux server
- SDK Version 1.2.11
- JDK version 8
Contributor guide
Assessment
This issue has not been assessed yet.