docs: public String getQueueType(boolean bDefaultIfNone)
      {
          String strQueueType = null;
          Record recQueueName = ((ReferenceField)this.getField(MessageProcessInfo.QUEUE_NAME_ID)).getReference();
          if (recQueueName != null)
              if (recQueueName.getEditMode() == DBConstants.EDIT_CURRENT)
                  strQueueType = recQueueName.getField(QueueName.QUEUE_TYPE).toString();
          if ((strQueueType == null) || (strQueueType.length() == 0))
              if (bDefaultIfNone)
                  strQueueType = MessageConstants.DEFAULT_QUEUE;
          return strQueueType;
      }