]
Chen Maoqian resolved WFLY-6551.
--------------------------------
Resolution: Resolved at Apache
resolved by apache
Incorrect log message in class ClientSessionFactoryImpl
-------------------------------------------------------
Key: WFLY-6551
URL:
https://issues.jboss.org/browse/WFLY-6551
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 10.0.0.Final
Reporter: Chen Maoqian
Assignee: Chen Maoqian
Priority: Minor
There is incorrect logging message present in method {{establishNewConnection()}} in
class {{org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl}} .
{noformat}
protected RemotingConnection establishNewConnection() {
....
RemotingConnection newConnection = clientProtocolManager.connect(...);
newConnection.addFailureListener(new
DelegatingFailureListener(newConnection.getID()));
schedulePing();
if (ActiveMQClientLogger.LOGGER.isTraceEnabled()) {
ActiveMQClientLogger.LOGGER.trace("returning " + connection);
}
return newConnection;
}
{noformat}
Log message says, that it is returning connection (old one, present as an attribute of
class), but connection stored in {{newConnection}} variable is returned (and then it is
set as this.connection).