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, 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