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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.