[
https://issues.apache.org/jira/browse/AMQ-9820?focusedWorklogId=996717&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-996717
]
ASF GitHub Bot logged work on AMQ-9820:
---------------------------------------
Author: ASF GitHub Bot
Created on: 17/Dec/25 15:02
Start Date: 17/Dec/25 15:02
Worklog Time Spent: 10m
Work Description: jeanouii commented on code in PR #1564:
URL: https://github.com/apache/activemq/pull/1564#discussion_r2627416763
##########
activemq-jms-pool/src/test/java/org/apache/activemq/jms/pool/PooledConnectionSecurityExceptionTest.java:
##########
@@ -134,8 +134,12 @@ public void testFailureGetsNewConnectionOnRetry() throws
Exception {
@Override
public boolean isSatisified() throws Exception {
- return connection1.getConnection() !=
- ((PooledConnection)
pooledConnFact.createConnection("invalid", "credentials")).getConnection();
+ PooledConnection newConnection = (PooledConnection)
pooledConnFact.createConnection("invalid", "credentials");
Review Comment:
Good point, it implements AutoClosable. I'll do that now
Issue Time Tracking
-------------------
Worklog Id: (was: 996717)
Time Spent: 40m (was: 0.5h)
> Closed connections leaked in the connection pool
> ------------------------------------------------
>
> Key: AMQ-9820
> URL: https://issues.apache.org/jira/browse/AMQ-9820
> Project: ActiveMQ
> Issue Type: Bug
> Components: ConnectionPool
> Reporter: Jean-Louis Monteiro
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When using reconnectOnException for the PooledConnectionFactory, it seems
> that closed connections (on exception) remain in the pool due to wrong
> validation rules
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact