Incorrect message count exposed in JMX

Solution Verified - Updated -

Issue

It seems that the number of stored messages exposed in JMX (TotalMessageCount in Broker) is incorrect.

See the attached file where TotalMessageCount is 1457671 and does not match at all the number of messages in all the queues (sum is 24576).

How can this be?

FWIW, this broker is part of a four nodes network of brokers.

Environment

  • Fuse Message Broker 5.5
  • Fuse ESB Enterprise 7.X
  • JBoss Fuse 6.0, 6.1
  • JBoss A-MQ 6.0, 6.1

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