无法通过 artemis web 控制台删除队列
Cannot delete a queue via the artemis web console
我正在 Docker 上试用 artemis 2.13.0。
我可以通过编程方式创建队列,但无法通过 Web 控制台删除它。
有时 destroyQueue 会作为队列操作中的一个选项出现。其他时候则不然。
最近无法从控制台销毁队列。
我收到以下错误:
java.lang.IllegalArgumentException : No operation destroyQueue found on MBean org.apache.activemq.artemis:address="example",broker="77643207e938",component=addresses,queue="example",routing-type="anycast",subcomponent=queues
知道为什么会这样吗?
谢谢
destroyQueue
是一个只能通过 trought ActiveMQServerControl 访问的操作,即使用 MBean org.apache.activemq.artemis:broker
:[=18= 销毁名称为 TEST
的队列]
curl -H "Origin:http://localhost" -u admin:admin http://localhost:8161/console/jolokia/exec/org.apache.activemq.artemis:broker=%220.0.0.0%22/destroyQueue%28java.lang.String%29/TEST
您收到此错误是因为您的请求中使用的 MBean 是 org.apache.activemq.artemis:address
,而在上一个示例中应该是 org.apache.activemq.artemis:broker
。
这可能是由于 select 左侧面板中错误节点的离子引起的。
为解决此问题,select 左侧面板中的代理节点执行destroyQueue
操作之前。
我正在 Docker 上试用 artemis 2.13.0。 我可以通过编程方式创建队列,但无法通过 Web 控制台删除它。
有时 destroyQueue 会作为队列操作中的一个选项出现。其他时候则不然。 最近无法从控制台销毁队列。
我收到以下错误:
java.lang.IllegalArgumentException : No operation destroyQueue found on MBean org.apache.activemq.artemis:address="example",broker="77643207e938",component=addresses,queue="example",routing-type="anycast",subcomponent=queues
知道为什么会这样吗?
谢谢
destroyQueue
是一个只能通过 trought ActiveMQServerControl 访问的操作,即使用 MBean org.apache.activemq.artemis:broker
:[=18= 销毁名称为 TEST
的队列]
curl -H "Origin:http://localhost" -u admin:admin http://localhost:8161/console/jolokia/exec/org.apache.activemq.artemis:broker=%220.0.0.0%22/destroyQueue%28java.lang.String%29/TEST
您收到此错误是因为您的请求中使用的 MBean 是 org.apache.activemq.artemis:address
,而在上一个示例中应该是 org.apache.activemq.artemis:broker
。
这可能是由于 select 左侧面板中错误节点的离子引起的。
为解决此问题,select 左侧面板中的代理节点执行destroyQueue
操作之前。