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: Looking for support in ActiveMQ 6.1.2

2024-11-14 Thread Justin Bertram
Do you have any logs from the consumers that might shed light on the problem? Do the client applications themselves think they are still connected to the broker? Are they attempting to reconnect? Please provide more details to clarify. Thanks! Justin On Thu, Nov 14, 2024 at 6:52 AM Dipanwita Ba

Re: Looking for support in ActiveMQ 6.1.2

2024-11-14 Thread Matt Pavlovich
Hello Dipanwita- The application use case you are describing sounds standard and in use by a lot of people on a daily basis with ActiveMQ. I suspect there is a coding or configuration issue that is leading to the outcome you have described. This type of troubleshooting is difficult to solve o

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

Looking for support in ActiveMQ 6.1.2

2024-11-14 Thread Dipanwita Barik
Hi users, I need some assistance in resolving an issue concerning consumers and ActiveMQ. I am using Apache ActiveMQ 6.1.2 as my queue manager and have written a Java application that functions as a listener. This application creates a connection pool with 10 consumers that connect to ActiveMQ vi

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