We have a cluster which contains 2 brockers (version 5.15.3). Our application enqueue and dequeue from ActiveMQ in multithread. Each thread create own connection like this:
We tests communication between our app and cluster and some scenario is network connection dropped or brockers vm shutdowns. In this case library can hang (for dequeue or enqueue).
Connection URI is:
What can we do that library will throw exception or another behavior?
Logs in attach