Search code examples
activemq-classicwildfly-10

Flush Messages in wildfly 10 (activemq) programmatically


I'm using wildfly 10. I'm developing a management console to manage queue. I want to know how to flush the queue programmatically (like flush option provided in wildfly 10 management console).


Solution

  • JMX Api can be used which will perform mbean operation