out.writeInt(numMessages);
if (hold) { out.writeUTF(queueName);  out.writeInt(numMessages); }
   public void write(DataOutputStream out) throws Exception   {      out.writeUTF(queueName);            out.writeInt(numMessages);   }