public void rollback(Xid xid) throws XAException
public void rollback(Xid xid, ConnectionDelegate connection) throws XAException
   public void rollback(Xid xid) throws XAException   {      if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); }      TxState tx = removeTx(xid);      if (tx == null)      {         log.error("Cannot find transaction with xid:" + xid);                  throw new XAException(XAException.XAER_NOTA);      }      if (tx.state == TxState.TX_PREPARED)      {         TransactionRequest request = new TransactionRequest();                 request.requestType = TransactionRequest.TWO_PHASE_COMMIT_ROLLBACK_REQUEST;         request.xid = xid;         sendTransactionXA(request);      }       }