Object prop = properties.get(name); if (!(prop instanceof Boolean)) { throw new JMSException("Not boolean"); }
   public boolean getBooleanProperty(String name) throws JMSException   {      return ((Boolean)properties.get(name)).booleanValue();   }