if ("JMSXDeliveryCount".equals(name)) { return String.valueOf(deliveryCount); }
   public String getStringProperty(String name) throws JMSException   {      Object value = properties.get(name);      if (value == null)         return null;      if (value instanceof Boolean)      {         return value.toString();      }      else if (value instanceof Byte)      {         return value.toString();      }      else if (value instanceof Short)      {         return value.toString();      }      else if (value instanceof Integer)      {         return value.toString();      }      else if (value instanceof Long)      {         return value.toString();      }      else if (value instanceof Float)      {         return value.toString();      }      else if (value instanceof Double)      {         return value.toString();      }      else if (value instanceof String)      {         return (String) value;      }      else      {         throw new MessageFormatException("Invalid conversion");      }   }