Object prop = properties.get(name); if (!(prop instanceof Float)) { throw new JMSException("Not float"); }
   public float getFloatProperty(String name) throws JMSException   {      return ((Float)properties.get(name)).floatValue();   }