title: WildFly server backup mode does not allow resource do be managed
body: <p>I am trying to remove all messages from a Queue created in WildFly 10.1:</p>
  
  <pre><code>/profile=full-ha/subsystem=messaging-activemq/server=default/jms-queue=myQueue/:remove-messages
  </code></pre>
  
  <p>But when I run the CLI command I receive the following response message from CLI.</p>
  
  <p>Could someone explain what is the "backup mode" and what can I do to remove all messages?</p>
  
  <pre><code>{
      "outcome" =&gt; "failed",
      "failure-description" =&gt; {"domain-failure-description" =&gt; "WFLYMSGAMQ0066: Resource at the address [
      (\"profile\" =&gt; \"full-ha\"),
      (\"subsystem\" =&gt; \"messaging-activemq\"),
      (\"server\" =&gt; \"default\"),
      (\"jms-queue\" =&gt; \"myQueue\")
  ] can not be managed, the server is in backup mode"},
      "rolled-back" =&gt; true
  }
  </code></pre>