[jboss-jira] [JBoss JIRA] (WFLY-6551) Incorrect log message in class ClientSessionFactoryImpl
Chen Maoqian (JIRA)
issues at jboss.org
Sun Apr 24 21:41:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chen Maoqian moved JBEAP-4327 to WFLY-6551:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-6551 (was: JBEAP-4327)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JMS
(was: ActiveMQ)
Target Release: (was: 7.backlog.GA)
Affects Version/s: 10.0.0.Final
(was: 7.0.0.CR1)
> 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: Andy Taylor
> 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