code: public void setRegistrationConfig(RegistrationConfig registrationConfig) {
          this.registrationConfig = registrationConfig;
  
          if (registrationConfig.getDefaultConfig()!=null) {
              for (String key : registrationConfig.getDefaultConfig().keySet()) {
                  dynamicConfig.put(key, registrationConfig.getDefaultConfig().get(key));
              }
          }
      }
docs: The mediator registration config. If it contains default config and definitions,
  then the dynamic config will be initialized with those values.
  
  @see org.openhim.mediator.engine.RegistrationConfig
  @see #getDynamicConfig()