Beispiel #1
0
 public AzureQueueAdapter(IConfigurationFactory configFactory, string configurationName, IBusLogger logger, string topicName, ILogController logController, IOptions <ConnectionStrings> connectionStrings, IOptions <AzureServiceBusConfiguration> serviceBusConfiguration)
 {
     this._configuration         = configFactory.GetConfiguration <AzureQueueConfiguration>("AzureQueueConfiguration/Queue");
     _azureQueueHelper           = new AzureQueueHelper(logController, connectionStrings, serviceBusConfiguration);
     _azureQueueHelper.TopicName = topicName;
     this._logger = logger;
 }
Beispiel #2
0
 public AzureQueueAdapter(AzureQueueConfiguration configuration, IBusLogger logger, ILogController logController, IOptions <ConnectionStrings> connectionStrings, IOptions <AzureServiceBusConfiguration> serviceBusConfiguration)
 {
     this._configuration         = configuration;
     _azureQueueHelper           = new AzureQueueHelper(logController, connectionStrings, serviceBusConfiguration);
     _azureQueueHelper.TopicName = _configuration.name;
     this._logger = logger;
 }