if (!messageReadWrite)
if (!propertiesWritable)
   public void setDoubleProperty(String name, double value) throws JMSException   {      if (!messageReadWrite)         throw new MessageNotWriteableException("Properties are read-only");      Double d = new Double(value);      checkProperty(name, d);      properties.put(name, d);   }