You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jianjiang Mu (Jira)" <ji...@apache.org> on 2021/10/31 03:54:00 UTC
[jira] [Created] (ARTEMIS-3547) client load balance code can be
improved
Jianjiang Mu created ARTEMIS-3547:
-------------------------------------
Summary: client load balance code can be improved
Key: ARTEMIS-3547
URL: https://issues.apache.org/jira/browse/ARTEMIS-3547
Project: ActiveMQ Artemis
Issue Type: Improvement
Components: Broker
Affects Versions: 2.19.0
Reporter: Jianjiang Mu
Fix For: 2.20.0
org.apache.activemq.artemis.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy class in aretemis-core-client can be improved!
Two field is used here, one is first(boolean type)and one is pos(int type).The "first“ field is not necessary here. Only "pos" can do the job.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)