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

Chen Maoqian (JIRA) issues at jboss.org
Wed Apr 27 21:22:00 EDT 2016


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

Chen Maoqian resolved WFLY-6551.
--------------------------------
    Resolution: Resolved at Apache


resolved by apache https://issues.apache.org/jira/browse/ARTEMIS-501
https://github.com/apache/activemq-artemis/pull/483 is merged

> 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).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list