the reconnection attempts logic based on the reconnection policy seems wrong.
In JmsConnector#doInitializeConnection the loop trying to reconnect to the foreign broker only execute once due to the erroneous test in the while
while (maxRetries < ++attempt && !connectionSerivce.isTerminating());
while (maxRetries > ++attempt && !connectionSerivce.isTerminating());
- links to