HornetQ: No way to get a message about delivering messages

Solution Verified - Updated -

Issue

We have an application that need to monitor if a message is delivering for more than 5 minutes. (for instance)
To achieve this we need to get the list of delivering messages and for each of them get the timestamp in the JMS Header.

Through JMX we can only get the listMessages on the mbean module=JMS,name="com.mycompany.jee.test.jms.Queue",type=Queue

There appears to be a missing JMX method "listDeliveringMessages".

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 5.1.2
  • HornetQ
    • 2.2.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