mattrpav commented on code in PR #1985:
URL: https://github.com/apache/activemq/pull/1985#discussion_r3289106634


##########
activemq-broker/src/main/java/org/apache/activemq/network/NetworkBridgeStatistics.java:
##########
@@ -34,9 +35,7 @@ public NetworkBridgeStatistics() {
         dequeues = new CountStatisticImpl("dequeues", "The current number of 
dequeues this bridge has, which is the number of messages received by the 
remote broker.");
         receivedCount = new CountStatisticImpl("receivedCount", "The number of 
messages that have been received by the NetworkBridge from the remote broker.  
Only applies for Duplex bridges.");
 
-        addStatistic("enqueues", enqueues);
-        addStatistic("dequeues", dequeues);
-        addStatistic("receivedCount", receivedCount);
+        addStatistics(Set.of(enqueues,  dequeues, receivedCount));

Review Comment:
   Fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to