code: @Override
      public void removeQueue(final String queueName, final boolean all) {
          if (queueName == null || "".equals(queueName)) {
              throw new IllegalArgumentException("queueName must not be null or empty: " + queueName);
          }
          if (all) { // Remove all instances
              boolean tryAgain = true;
              while (tryAgain) {
                  tryAgain = this.queueNames.remove(queueName);
              }
          } else { // Only remove one instance
              this.queueNames.remove(queueName);
          }
      }
docs: {@inheritDoc}