How to remove / delete messages in hornetq from JMX in JBoss EAP 5.1.x

Solution Verified - Updated -

Issue

  • Please let me know, how can I remove messages in a HornetQ queue/topic from JMX console. Currently I do this by stopping JBoss, deleting the bindings-directory, journal-directory and large-messages-directory and then start JBoss again.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.x
  • HornetQ

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.