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