log.error("Delivery count not expected value");
log.error("Delivery count not expected value:" + j + " actual:" + tm.getIntProperty("JMSXDeliveryCount"));;
      public void run()      {         try         {            //log.info("in run(), numr=" + numRecoveries + " numMesages:" +numMessages);            Message lastMessage = null;            for (int j = 0; j < numRecoveries; j++)            {                              for (int i = 0; i < numMessages; i++)               {                                    TextMessage tm = (TextMessage)cons.receive();                  lastMessage = tm;                                    //log.info("Actual: " + tm.getIntProperty("JMSXDeliveryCount") + " expected:" + j);                                    if (tm == null)                  {                                          failed = true;                  }                                    if (!tm.getText().equals("testing" + i))                  {                     log.error("Out of order!!");                     failed = true;                  }                                    //log.info(name + " recieved message:" + i);                                    if (tm.getIntProperty("JMSXDeliveryCount") != j)                  {                     log.error("Delivery count not expected value");                     failed = true;                  }               }               //log.info("Recovering:" + j);               if (j != numRecoveries -1)               {                  sess.recover();               }                           }            lastMessage.acknowledge();         }         catch (Exception e)         {            failed = true;         }      }