if ("JMSXDeliveryCount".equals(name)) { return (long)deliveryCount; }
   public long getLongProperty(String name) throws JMSException   {      Object value = properties.get(name);      if (value == null)         throw new NumberFormatException("Message property '" + name + "' not set.");      if (value instanceof Byte)         return ((Byte) value).longValue();      else if (value instanceof Short)         return ((Short) value).longValue();      else if (value instanceof Integer)         return ((Integer) value).longValue();      else if (value instanceof Long)         return ((Long) value).longValue();      else if (value instanceof String)         return Long.parseLong((String) value);      else         throw new MessageFormatException("Invalid conversion");   }