Hi Sophie

Which version are you using?
The situation is the same: no special properties on the message
(redelivery, ...) ?

Regards
JB

PS: this kind of message should be sent to the user mailing list

On Tue, Jan 2, 2024 at 10:30 PM Sophie Borchart
<sophie.borch...@ibm.com.invalid> wrote:
>
> Hello,
> I’m running into a situation where I am using the ActiveMQ Statistics Plugin 
> to retrieve data for queues. I know my queues have data in them:
>
> "statistics": {
>         "dequeue_count": 0,
>         "average_message_size": 1152,
>         "memory_usage": 3456,
>         "consumer_count": 0,
>         "min_enqueue_time": 0,
>         "memory_percent_usage": 0,
>         "average_enqueue_time": 0,
>         "messages_cached": 0,
>         "expired_count": 0,
>         "inflight_count": 0,
>         "max_enqueue_time": 0,
>         "dispatch_count": 0,
>         "queue_size": 0,
>         "destination_name": "queue://inbound_destinations.201.id1",
>         "producer_count": 0,
>         "memory_limit": 536870912,
>         "broker_name": "detachedBroker",
>         "enqueue_count": 0
>       },
>
> As you can see the average message size > 0 and some statistics are being 
> retrieved, so I know the plug in is working.
>
> I can confirm in my database tht the messages are there, the queue size is 3:
>
>               container               | count | bytes | max_bytes
>
> --------------------------------------+-------+-------+-----------
>
>  queue://inbound_destinations.201.id1 |     3 |  1344 |       481
>
>
> However, the queue size is showing up as 0. This is when I am using a Linux 
> machine – when I use the same code on my mac it works just fine. Is there a 
> reason why this would occur, ActiveMQ is reporting the size as 0 when that is 
> not the case, but the rest of the data is correct.
>
> Please let me know, thank you!
> Best,
> Sophie

Reply via email to