code: public ModelNode createNewQueueRequest(String name, Boolean durable, List<String> entryNames) {
  
          String dmrTemplate = "" //
              + "{" //
              + "\"durable\" => \"%s\", " //
              + "\"entries\" => [\"%s\"] " //
              + "}";
  
          String dmr = String.format(dmrTemplate, ((null == durable) ? "true" : durable.toString()), entryNames.get(0));
  
          Address addr = Address.root().add(SUBSYSTEM, SUBSYSTEM_MESSAGING, HORNETQ_SERVER, "default", JMS_QUEUE, name);
          final ModelNode request = ModelNode.fromString(dmr);
          request.get(OPERATION).set(ADD);
          request.get(ADDRESS).set(addr.getAddressNode());
  
          return request;
      }
docs: Returns a ModelNode that can be used to create a queue.
  Callers are free to tweak the queue request that is returned,
  if they so choose, before asking the client to execute the request.
  
  @param name the queue name
  @param durable if null, default is "true"
  @param entryNames the jndiNames, each is prefixed with 'java:/'.  Only supports one entry currently.
  
  @return the request that can be used to create the queue