How to delete a particular message using purge command in Active MQ

Solution Unverified - Updated -

Issue

  • purge command won't work. No message is deleted from the queue
activemq:purge --jmxlocal --msgsel JMSCorrelationID='XYZ' QUEUE
  • we want to purge filter using the message timestamp.

Environment

  • Red Hat JBoss A-MQ
    • 6.1
  • Red Hat JBoss Fuse
    • 6.1

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.