Github user mtaylor commented on the issue:
https://github.com/apache/activemq-artemis/pull/1676
@clebertsuconic The problem here is that any thread that blocks
indefinitely takes up resources in the Thread pool. If you have several
threads trying reconnect, the ThreadPool may be exhausted and can not be used
to perform any other tasks. My opinion here is that no task we add to the
ThreadPool should block indefinitely, for retry here we should attempt to
connect, if it fails schedule another attempt connect call, and give up the
thread. Jiri's made a start on that, but we may need to flesh out some of the
details. There's a similar problem with LargeMessage receive().
---