if (log.isTraceEnabled()) { log.trace("Addding message for xid:" + xid); }
if (trace) { log.trace("Addding message for xid:" + xid); }
   public void addMessage(Object xid, Message m)   {      if (log.isTraceEnabled()) { log.trace("Addding message for xid:" + xid); }      TxState tx = getTx(xid);      tx.getMessages().add(m);   }