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)

Reply via email to