I have an ActiveMQ (AmazonMQ) queue which normally stores between 100-150K messages at any given time before they are set to expire after a 24 hour period (JMSExpiration). I would like to browse the said queue using a JMS selector such as JMSTimestamp > 1711198800000.
Unfortunately, such JMS queries only appear to span the first 400 messages in the queue and seem unable to query all other messages in the queue beyond that depth. I have tried using both JMSToolBox and amazonmq-cli but neither tool seems to be able to query beyond said limit.
I've noticed that If I query a page at a time, using the previously mentioned JMS selector query in a way that picks up where the last message of the previous result set left off I can "advance" the query cursor (if such thing does exist) until I get to the desired results but this is impractical when there exists a large number of messages in the queue. I've googled for anything online that confirms this behaviour but have come up empty so far. Has anyone tackled this problem before?