feat(api, bll): переделал сервис получения статистики из RabbitMQ. StatRabbitMqController - статистика по очередям и соединениям
This commit is contained in:
14
PARR.BLL/Domain/Mq/MqApiResult.cs
Normal file
14
PARR.BLL/Domain/Mq/MqApiResult.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace PARR.BLL.Domain.Mq
|
||||
{
|
||||
/// <summary>
|
||||
/// Ответ от API RabbitMQ
|
||||
/// </summary>
|
||||
public class MqApiResult
|
||||
{
|
||||
public bool IsSuccess { get; set; }
|
||||
|
||||
public object? Response { get; set; }
|
||||
|
||||
public Exception? Exception { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
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