docs: public Xid getRemoteTransactionXid(Long internalId) {
        for (RemoteTransaction rTx : getRemoteTransactions()) {
           RecoverableTransactionIdentifier gtx = (RecoverableTransactionIdentifier) rTx.getGlobalTransaction();
           if (gtx.getInternalId() == internalId) {
              if (trace) log.tracef("Found xid %s matching internal id %s", gtx.getXid(), internalId);
              return gtx.getXid();
           }
        }
        if (trace) log.tracef("Could not find remote transactions matching internal id %s", internalId);
        return null;
     }