public override void Configure(IProcessorOptions config) { Log.LogInformation("Processor::Configure"); _config = (WorkItemMigrationProcessorOptions)config; Endpoints.ConfigureEndpoints(config.Endpoints); ProcessorEnrichers.ConfigureEnrichers(config.Enrichers); }
public virtual void Configure(IProcessorOptions options) { Log.LogInformation("Processor::Configure"); Endpoints.ConfigureEndpoints(options.Source, options.Target); ProcessorEnrichers.ConfigureEnrichers(options.ProcessorEnrichers); _ProcessorConfigured = true; }