/// <inheritdoc /> internal MqSeriesQueueSubscribingMessageAdapter( IMqSeriesQueueConnectionFactoryProvider connectionFactoryProvider, MqSeriesQueueConfiguration configuration, ILogger <MqSeriesQueueSubscribingMessageAdapter> logger) : base(connectionFactoryProvider, configuration, logger) { }
/// <inheritdoc /> public MqSeriesQueueTransactedMessageAdapter( IMqSeriesQueueConnectionFactoryProvider connectionFactoryProvider, MqSeriesQueueConfiguration configuration, ILogger <MqSeriesQueueTransactedMessageAdapter> logger) : base(connectionFactoryProvider, configuration, logger) { }
/// <summary> /// Инициализирует адаптер /// </summary> /// <param name="connectionFactoryProvider">Объект, создающий connection factory</param> /// <param name="configuration">Конфигурация подключения</param> /// <param name="logger">Интерфейс логгирования</param> protected MqSeriesQueueMessageAdapterBase( IMqSeriesQueueConnectionFactoryProvider connectionFactoryProvider, MqSeriesQueueConfiguration configuration, ILogger logger) { _configuration = configuration; _logger = logger; _connectionFactoryProvider = connectionFactoryProvider; }
/// <summary> /// Инициализирует экземпляр переменной типа <see cref="MqSeriesQueueConfiguration" /> /// </summary> /// <param name="configuration"></param> public MqSeriesQueueMessageAdapter(MqSeriesQueueConfiguration configuration) { _configuration = configuration.ThrowIfNull(nameof(configuration)); }