Fixed, early created connection is closed so that it can expire or error
out as needed.
This commit is contained in:
Timothy Bish 2014-07-07 14:29:21 -04:00
parent 74846bb2b4
commit c6d0aaa81b
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ public class PooledConnectionFactory implements ConnectionFactory, QueueConnecti
if (isCreateConnectionOnStartup()) {
try {
// warm the pool by creating a connection during startup
createConnection();
createConnection().close();
} catch (JMSException e) {
LOG.warn("Create pooled connection during start failed. This exception will be ignored.", e);
}