michaelpearce-gain commented on code in PR #4126:
URL: https://github.com/apache/activemq-artemis/pull/4126#discussion_r910328411


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/view/ConsumerView.java:
##########
@@ -111,6 +128,27 @@ public Object getField(ServerConsumer consumer, String 
fieldName) {
             return consumer.getConnectionRemoteAddress();
          case CREATION_TIME:
             return new Date(consumer.getCreationTime());
+         case DELIVERING_COUNT:
+            return consumer.getDeliveringMessages().size();
+         case DELIVERING_SIZE:
+            List<MessageReference> deliveringMessages = 
consumer.getDeliveringMessages();
+            long deliveringMessageSize = 0;

Review Comment:
   Ditto other comment i left also by doing as per other comment we would 
remove this duped code also



-- 
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]

Reply via email to