AMQ countMessages(String) returns a truncated result max 200

Solution Verified - Updated -

Issue

  • If a queue has 1000 messages then countMessage() API shows correct count. But countMessages(String) with filter " _AMQ_ORIG_QUEUE = TEST" shows only 200 counts.
  • It should return the total number of messages in the queue that match a given filter.

Environment

  • Red Hat AMQ
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content