Issue
When calling Apache.NMS.MessageProducer.Send() with RequestTimeout.TotalMilliseconds > 0, the call gets blocked indefinitely when the ActiveMQ destination service is stopped, and immediately unblocks when the service is started again. This is the use case:
Open connection to ActiveMQ broker service - succeeds
Send messages - succeeds
Stop ActiveMQ service
Send messages - all sending threads are blocked
Start ActiveMQ service - blocked sending threads become unblocked and sent
This happens in Windows in a net471 application where except the thin application executable, all DLLs are netstandard2.0. Attached is a PerfView stack trace of one of the blocked threads.
Issue When calling Apache.NMS.MessageProducer.Send() with RequestTimeout.TotalMilliseconds > 0, the call gets blocked indefinitely when the ActiveMQ destination service is stopped, and immediately unblocks when the service is started again. This is the use case:
This happens in Windows in a net471 application where except the thin application executable, all DLLs are netstandard2.0. Attached is a PerfView stack trace of one of the blocked threads.