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