/**
   * Run the recovery manager and observe recovery of the transaction.
   *
   * @throws Exception
   */
  private static void recoverTransaction() throws Exception {

    ConfigParticipantRecordTypeMap map = new ConfigParticipantRecordTypeMap();
    RecordTypeManager.manager().add(map);

    RecoveryManager recoveryManager = RecoverySetup.getAndConfigureRecoveryManager();
    recoveryManager.scan();

    System.out.println("'child-config' value = " + ConfigService.getCommittedValue("child-config"));
    System.out.println(
        "'parent-config' value = " + ConfigService.getCommittedValue("parent-config"));

    recoveryManager.terminate();
  }