2 Replies Latest reply on Feb 23, 2019 1:28 PM by udidol

    Using removeMessages with JMX to remove a message with a filter


      I want to remove a specific message in a specified queue using JMX.

      I'm using jmxterm as the JMX command line client and I want to create a bash script to run this JMX command.


      To remove all messages in a queue, I use:

      org.hornetq:module=JMS,name=queueName,type=Queue removeMessages ''

      How would I add a filter to this command?