Nic*_*zza 3 rest activemq-classic jolokia
是否可以使用5.9.0上的ActiveMQ rest api删除队列?我知道你可以用
"http://" + host + ":" + port + "/api/jolokia/exec/org.apache.activemq:brokerName=localhost,destinationName=" + queueName + ",destinationType=Queue,type=Broker/purge()";
Run Code Online (Sandbox Code Playgroud)
但是要删除的是什么?
您应该使用以下网址格式:
http://hostname:8161/hawtio/jolokia/exec/org.apache.activemq:type=Broker,brokerName=MyBroker/removeQueue(java.lang.String)/MyQueue
Run Code Online (Sandbox Code Playgroud)