/// <summary>
 ///   Конструктор адаптера
 /// </summary>
 /// <param name="connectionFactory">Фабрика подключений</param>
 /// <param name="queueConfiguration">Параметры очереди</param>
 /// <param name="logger">Сервис логирования</param>
 public ActiveMqQueueMessageAdapter(IActiveMqConnectionFactory connectionFactory,
                                    ActiveMqQueueConfiguration queueConfiguration,
                                    ILogger logger)
 {
     _connectionFactory = connectionFactory.ThrowIfNull(nameof(connectionFactory));
     _configuration     = queueConfiguration.ThrowIfNull(nameof(queueConfiguration));
     _logger            = logger.ThrowIfNull(nameof(logger));
 }
 /// <inheritdoc />
 public ActiveMqQueueMessageAdapterConstructor(IConfiguration configuration,
                                               ILoggerFactory loggerFactory,
                                               IActiveMqConnectionFactory connectionFactory)
     : base(configuration, "activemq")
 {
     _loggerFactory     = loggerFactory.ThrowIfNull(nameof(loggerFactory));
     _connectionFactory = connectionFactory.ThrowIfNull(nameof(connectionFactory));
 }