Added RabbitMq IsConnected
This commit is contained in:
parent
7c67fa7de0
commit
79dcb4d75a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user