code: public void pause(String queueName) {
          try {
              getQueueControl(queueName).pause();
          } catch (Exception e) {
              throw new AsyncException(e);
          }
      }
docs: Pauses a queue. A paused queue stops delivering commands to listeners. It still can accumulate commands.
  
  @param queueName queue name.