public ConnectionPool(IOptions <AbpAzureServiceBusOptions> options) { _options = options.Value; _clients = new ConcurrentDictionary <string, Lazy <ServiceBusClient> >(); _adminClients = new ConcurrentDictionary <string, Lazy <ServiceBusAdministrationClient> >(); Logger = new NullLogger <ConnectionPool>(); }
public ProcessorPool( IOptions <AbpAzureServiceBusOptions> options, IConnectionPool connectionPool) { _options = options.Value; _connectionPool = connectionPool; _processors = new ConcurrentDictionary <string, Lazy <ServiceBusProcessor> >(); Logger = new NullLogger <ProcessorPool>(); }