Is there a way to delete a queue with ActiveMQ rest api on 5.9.0? I know you can purge a queue with
"http://" + host + ":" + port + "/api/jolokia/exec/org.apache.activemq:brokerName=localhost,destinationName=" + queueName + ",destinationType=Queue,type=Broker/purge()";
But what is the one for deleting?
You should use the following URL pattern:
http://hostname:8161/hawtio/jolokia/exec/org.apache.activemq:type=Broker,brokerName=MyBroker/removeQueue(java.lang.String)/MyQueue
You can read about the format to access JMX operations thorugh jolokia here.