feat(api, bll): IMqService - добавлен метод получения статистики по очереди. StatRabbitMqController - статистика по RabbitMq

This commit is contained in:
Mikhail Trubnikov
2024-05-23 14:09:37 +10:00
parent d139374f5f
commit f35092dd51
9 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
namespace PARR.BLL.Domain.Mq
{
/// <summary>
/// Результат запроса кол-ва сообщений в очереди RabbitMq
/// </summary>
public class MqQueueCountResult
{
public bool IsSuccess { get;set; }
public int Count { get; set; }
public int ConsumerCount { get; set; }
public Exception? Exception { get; set; }
}
}