Github user ArthurFritz commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2237#discussion_r209314996 --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java --- @@ -711,6 +712,32 @@ public long countMessages(final String filterStr) throws Exception { } } + @Override + public String countMessagesProperty(final String filter) throws Exception { --- End diff -- In fact it will not filter the messages, but will count the messages for your property. In a project I have several properties that I use in selectors, this count will show me how many messages there are per property variation.
---