From 79dcb4d75a39dbaf3f91bdfd1dc32743cb329356 Mon Sep 17 00:00:00 2001 From: kunkliricsi Date: Sun, 17 Jan 2021 17:13:26 +0100 Subject: [PATCH] Added RabbitMq IsConnected --- .../CommunationServices/RabbitMq/RabbitMqClientService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Birdmap.BLL/Services/CommunationServices/RabbitMq/RabbitMqClientService.cs b/Birdmap.BLL/Services/CommunationServices/RabbitMq/RabbitMqClientService.cs index b20818e..5941cc5 100644 --- a/Birdmap.BLL/Services/CommunationServices/RabbitMq/RabbitMqClientService.cs +++ b/Birdmap.BLL/Services/CommunationServices/RabbitMq/RabbitMqClientService.cs @@ -19,7 +19,7 @@ namespace Birdmap.BLL.Services.CommunationServices.RabbitMq private readonly IConnectionFactory _factory; private readonly RabbitMqClientOptions _options; - public override bool IsConnected => throw new NotImplementedException(); + public override bool IsConnected => _connection.IsOpen; public RabbitMqClientService(RabbitMqClientOptions options, ILogger logger, IInputService inputService, IHubContext hubContext) : base(logger, inputService, hubContext)