Re: Artemis 2.27.1, metrics reports wrong message count on persisted queues

2023-01-04 Thread Justin Bertram
> Is there anything I can do to encourage Artemis to perform a "recount" of the messages that actually are persisted in the queues? The broker should recount the messages every time it starts and loads the journal from disk. You could use the `artemis data print` command to take a close look at th

Artemis 2.27.1, metrics reports wrong message count on persisted queues

2023-01-04 Thread Fredrik Jonson
Hi, I have an embedded Artemis 2.27.1 broker with jvm local connections in a spring boot app. I believe that the metrics for artemis_message_count of two queues are wrong. They never go below a certain base threshold, in one case 146, in the other 86. Not much, but annoying nontheless. The proble

Re: Consumers stop receiving messages

2023-01-04 Thread Justin Bertram
> We use message grouping, assigning each message a UUID at the beginning of processing, which is then used as a group identifier. We wonder if the large number of such groups (sometimes even several million new messages per day) can have a significant impact on memory consumption. I forgot to add

RE: Can I use management API without blocking queue auto-deletion?

2023-01-04 Thread John Lilley
Justin, I note that you talk about the ActiveMQServerControl API instead of the ManagementHelper queue-based API. We aren’t using that, IIRC, because the embedded broker we use for testing doesn’t stand up the web service component. But if that is mistaken I can try it again. Thanks, john

Re: Consumers stop receiving messages

2023-01-04 Thread Cezary Majchrzak
Thank you all for your ideas. Ultimately, we want to reduce the size of the messages so that they are not treated as large by the broker. We will also try to implement detection of slow consumers. > My suggestion is only to gain more information about the problem. If > eliminating large messages

RE: Can I use management API without blocking queue auto-deletion?

2023-01-04 Thread John Lilley
Justin, I’ve been looking for examples on how to use that “options” string in the ManagementHelper API for listing queues, but I’m coming up empty… can you point me to a link? Thanks John [rg] John Lilley Data Management Chief Architect, Redpoint Global

RE: Can I use management API without blocking queue auto-deletion?

2023-01-04 Thread John Lilley
Thanks! Sorry, something must be up with my Outlook… I am not seeing some messages from the mailing list. john [rg] John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street, Suite 200 Wellesley, MA 02482 M: +1 7209385761 | j