public void rollbackLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException
public void rollbackLocal(LocalTx xid, ConnectionDelegate connection) throws JMSException
   public void rollbackLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException   {      if (trace) { log.trace("rolling back local xid " + xid); }      TxState tx = removeTx(xid);      if (tx == null)      {         final String msg = "Cannot find transaction with xid:" + xid;         log.error(msg);                  throw new IllegalStateException(msg);               }            //Don't need messages for rollback      tx.clearMessages();      TransactionRequest request =         new TransactionRequest(TransactionRequest.ONE_PHASE_ROLLBACK_REQUEST, null, tx);      connection.sendTransaction(request);   }