log.info("Sent" + numMessages);
   public void run()   {      try      {         while (count < numMessages)         {            Message m = sess.createMessage();            m.setStringProperty("PROD_NAME", prodName);            m.setIntProperty("MSG_NUMBER", count);            prod.send(m);            count++;         }         log.info("Sent" + numMessages);      }      catch (Exception e)      {         log.error("Failed to send message", e);         failed = true;      }   }