【发布时间】:2016-11-25 16:07:35
【问题描述】:
我正在尝试从 WildFly 10.1 中创建的队列中删除所有消息:
/profile=full-ha/subsystem=messaging-activemq/server=default/jms-queue=myQueue/:remove-messages
但是当我运行 CLI 命令时,我从 CLI 收到以下响应消息。
有人能解释一下什么是“备份模式”吗?我该怎么做才能删除所有消息?
{
"outcome" => "failed",
"failure-description" => {"domain-failure-description" => "WFLYMSGAMQ0066: Resource at the address [
(\"profile\" => \"full-ha\"),
(\"subsystem\" => \"messaging-activemq\"),
(\"server\" => \"default\"),
(\"jms-queue\" => \"myQueue\")
] can not be managed, the server is in backup mode"},
"rolled-back" => true
}
【问题讨论】:
-
如何从主(域)中删除所有邮件?我从配置文件中尝试过并且有同样的错误。我不明白阅读接受的答案的解决方案。