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

Solution Verified - Updated -

Issue

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.

Environment

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