Delete message in expiry queue and disable expiry queue in EAP 7.x

Solution Verified - Updated -


Queue with Message Count - 191876 ( 2.1Gb page files ). I've a jboss only configured to manage JMS messages. I need to purge all expired messages.

Is possible that using this command : /subsystem=messaging-activemq/server=default/jms-queue=ExpiryQueue:remove-messages ? will EAP go in hang state ?
I will avoid to delete the data directory to avoid loss of subscription on topics.


  • Red Hat EAP
    • 7.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