namespace Oms.Application.Messaging;
public class OrderBatchRabbitMqOptions
{
public const string SectionName = "OrderBatch:RabbitMq";
public bool Enabled { get; set; }
public string HostName { get; set; } = "localhost";
public int Port { get; set; } = 5672;
public string UserName { get; set; } = "oms";
public string Password { get; set; } = "oms123";
public string VirtualHost { get; set; } = "/oms";
public ushort PrefetchCount { get; set; } = 5;
public int MaxRetryCount { get; set; } = 3;
///
/// DLX 队列堆积告警阈值。
///
public uint DlxAlertThreshold { get; set; } = 100;
///
/// 队列监控轮询间隔(秒)。
///
public int MonitorIntervalSeconds { get; set; } = 300;
}