mirror of
https://github.com/apache/activemq.git
synced 2025-02-08 19:15:20 +00:00
https://issues.apache.org/jira/browse/AMQ-5534 PooledConnectioFactory added reconnection support but can break if the holder of the connection adds their own ExceptionListener as the PooledConnection doesn't protect the internal ExceptionListener from replacement which leads to cases where the loaned Connection is not automatically closed so that the next create returns the same failed connection. (cherry picked from commit b65c0d1be4b0812229d3f166e50d963766856c53)