feature/rabbit-mq #4

Merged
tormakris merged 2 commits from feature/rabbit-mq into master 2021-01-17 17:16:54 +01:00
Showing only changes of commit 79dcb4d75a - Show all commits

View File

@ -19,7 +19,7 @@ namespace Birdmap.BLL.Services.CommunationServices.RabbitMq
private readonly IConnectionFactory _factory; private readonly IConnectionFactory _factory;
private readonly RabbitMqClientOptions _options; private readonly RabbitMqClientOptions _options;
public override bool IsConnected => throw new NotImplementedException(); public override bool IsConnected => _connection.IsOpen;
public RabbitMqClientService(RabbitMqClientOptions options, ILogger<RabbitMqClientService> logger, IInputService inputService, IHubContext<DevicesHub, IDevicesHubClient> hubContext) public RabbitMqClientService(RabbitMqClientOptions options, ILogger<RabbitMqClientService> logger, IInputService inputService, IHubContext<DevicesHub, IDevicesHubClient> hubContext)
: base(logger, inputService, hubContext) : base(logger, inputService, hubContext)