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