code: public boolean isQueue(String queueName) throws Exception {
          Address addr = Address.root().add(SUBSYSTEM, SUBSYSTEM_MESSAGING, HORNETQ_SERVER, "default");
          String haystack = JMS_QUEUE;
          return null != findNodeInList(addr, haystack, queueName);
      }
docs: Checks to see if there is already a queue with the given name.
  
  @param queueName the name to check
  @return true if there is a queue with the given name already in existence
  @throws Exception any error