[jboss-jira] [JBoss JIRA] (WFLY-6551) Incorrect log message in class ClientSessionFactoryImpl

Kabir Khan (JIRA) issues at jboss.org
Wed Dec 6 12:27:10 EST 2017


     [ https://issues.jboss.org/browse/WFLY-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan updated WFLY-6551:
-----------------------------
    Fix Version/s: 11.0.0.Final


I am bulk closing old issues that were resolved with no fix version. There are quite many of these so I am not checking the history properly. From the lastModified date of this issue it looks like it was done for 11.0.0.Final (I am not caring about alpha/beta etc. for this exercise). If that is incorrect please adjust as needed.

> 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
>             Fix For: 11.0.0.Final
>
>
> 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).



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list