code: public void execute() throws MongobeeException {
      if (!isEnabled()) {
        logger.info("Mongobee is disabled. Exiting.");
        return;
      }
  
      validateConfig();
  
      if (this.mongoClient != null) {
        dao.connectMongoDb(this.mongoClient, dbName);
      } else {
        dao.connectMongoDb(this.mongoClientURI, dbName);
      }
  
      if (!dao.acquireProcessLock()) {
        logger.info("Mongobee did not acquire process lock. Exiting.");
        return;
      }
  
      logger.info("Mongobee acquired process lock, starting the data migration sequence..");
  
      try {
        executeMigration();
      } finally {
        logger.info("Mongobee is releasing process lock.");
        dao.releaseProcessLock();
      }
  
      logger.info("Mongobee has finished his job.");
    }
docs: Executing migration
  
  @throws MongobeeException exception