IIntegrationConfigBuilder GetBuilder(IIntegrationConfig config) { var output = new IntegrationConfigurationBuilder(); AddBaselineIntegrationConfiguration(output); config.Configure(output); return(output); }
public IntegrationSender(IIntegrationConfig config) { Attempts = 3; TakePendents = 1000; if (config == null) { throw new HBIntegrationException("Config not defined."); } Config = config; }
public static IIntegracaoSapBrfWrapper Get(IIntegrationConfig config) { IIntegracaoSapBrfWrapper ret = null; if (config == null || string.IsNullOrEmpty(config.Name)) { throw new HBIntegrationException("Config not defined."); } switch (config.Name.ToLower()) { case BRF: ret = new IntegracaoSapBrfWrapper(config); break; } return(ret); }
public IntegracaoSapBrfWrapper(IIntegrationConfig config) : base(config) { }