试图找到一种使用 jolokia api 和 curl 清除 AMQ 中的 2 个队列的方法。在 jolokia 列表中找到了这个:
"brokerName=localhost,destinationName=FOO.CommandQueue,destinationType=Queue,type=Broker":
{ ...
"purge": {
"ret": "void",
"desc": "Removes all of the messages in the queue.",
"args": []
},
}
但不清楚如何使用它来编写 curl 调用。谁能给点建议?
/J