if (MessageUtils.isSomePureAckMessage (msg)) return; if (MessageUtils.getMessageNumber(msg) == 0) return;
  public void remove (AttributedMessage msg)   {    if (debug()) log.debug ("MessageResender: removing " +MessageUtils.toString(msg));    //  Remove the message from the agent state// sync (agentState)//   remove from agentState;    //  Remove the message from the waiting queue.  This can    //  raise the minResendDeadline, but doesn't seem like    //  enough to do a ding().    synchronized (queue)     {      queue.remove (msg);    }  }