feat(api, bll): IMqService - добавлен метод получения статистики по очереди. StatRabbitMqController - статистика по RabbitMq
This commit is contained in:
16
PARR.BLL/Domain/Mq/MqQueueCountResult.cs
Normal file
16
PARR.BLL/Domain/Mq/MqQueueCountResult.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user