Re: QueueController countMessages(String, String) in web console

2024-11-14 Thread Justin Bertram
I see the problem now. Using your original method you shouldn't have put quotation marks around __AMQ_CID. This works: curl -v -s http://admin:admin@localhost:8161/console/jolokia/exec/org.apache.activemq.artemis:broker=\"0.0.0.0\",component=addresses,address=\"Q.test\",subcomponent=queues,ro

Re: QueueController countMessages(String, String) in web console

2024-11-14 Thread Justin Bertram
That's very strange. I can't get it to work with your URL either. However, I did get it to work with this: $ curl -s -H "Origin: http://localhost"; -u admin:admin --header "Content-type: application/json" --request POST --data '{"operation": "countMessages(java.lang.String,java.lang.String)",

Re: QueueController countMessages(String, String) in web console

2024-11-14 Thread Keith Herbert
I'm stumped again. I'm recreating the above using curl commands instead of the web console and it doesn't seem like groupByProperty is being recognized. apache-artemis-2.33.0.redhat-00013/bin/artemis create groupby Edit groupby/etc/broker.xml with ... groupby/bin/artemis start

Re: QueueController countMessages(String, String) in web console

2024-11-14 Thread Keith Herbert
That fixed it. Thank you very much! 9 {"barney":1000,"moe":1000,"homer":1000} On Thu, Nov 14, 2024 at 4:55 AM Domenico Francesco Bruscino < bruscin...@gmail.com> wrote: > Hi Keith, > > you are hitting the default management-browse-page-size value: 200. For > further details see

Re: QueueController countMessages(String, String) in web console

2024-11-14 Thread Domenico Francesco Bruscino
Hi Keith, you are hitting the default management-browse-page-size value: 200. For further details see https://activemq.apache.org/components/artemis/documentation/latest/address-settings.html#address-settings Regards, Domenico On Wed, 13 Nov 2024 at 22:28, Keith Herbert wrote: > I'm stumped by

QueueController countMessages(String, String) in web console

2024-11-13 Thread Keith Herbert
I'm stumped by how to use the filter for countMessages(String, String) in the console view for queue operations. My goal is to get a count of messages grouped by clientID. I boot up a broker and send 3000 messages with 3 different clientIDs. bin/artemis producer --destination exampleQueue --url t