【发布时间】:2015-02-03 07:51:28
【问题描述】:
试图找到一种方法来使用 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
【问题讨论】: