public void resume() throws SystemException {
    XAResource xar = null;
    synchronized (resourceMap) {
      Iterator iterator = resourceMap.entrySet().iterator();
      Map.Entry entry;
      Boolean isActive = Boolean.FALSE;

      while (iterator.hasNext()) {
        entry = (Map.Entry) iterator.next();
        xar = (XAResource) entry.getKey();
        isActive = (Boolean) entry.getValue();
        if (!isActive) {
          try {
            xar.start(xid, XAResource.TMRESUME);
            entry.setValue(Boolean.TRUE);
          } catch (Exception e) {
            String exception =
                String.format("GlobaTransaction::resume:Resume not succesful due to %s",
                    e);
            LogWriter writer = TransactionUtils.getLogWriter();
            if (VERBOSE) {
              writer.fine(exception, e);
            }
            throw new SystemException(exception);
          }
        }
      }
    }
  }
resume the current transaction by activating all the XAResources associated with the current
transaction
geode-core/src/main/java/org/apache/geode/internal/jta/GlobalTransaction.java