activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kruthoff <>
Subject QueueBrowser number of messages returns always AMQ 'maxPageSize'
Date Mon, 08 Jun 2009 09:28:16 GMT

1. I'm sending 1000 persistent messages to a queue, ttl 5min (no receiver is
2. I'm browsing the queue and count the messages
-> it always counts 200 messages, but not 1000.

I've seen that this matches exactly the 'maxPageSize' setting within
activemq, which is 200 by default. When I change this property to 10, it
returns 10.

I expect to browse the 'real' number of messages within a queue, not
maxPageSize messages.

Maybe I'm wrong, or maybe this is a bug in activemq 5.2?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message