Files
vigilcare-clinical/VigilCareClinicalAPI/Configuration/RabbitMqOptions.cs
T
2026-06-24 04:35:15 +08:00

12 lines
537 B
C#

public sealed class RabbitMqOptions
{
public const string Section = "RabbitMq";
public string Host { get; init; } = "localhost";
public int Port { get; init; } = 5674;
public string Username { get; init; } = "guest";
public string Password { get; init; } = "guest";
public string VirtualHost { get; init; } = "/";
// Drives both the paging worker poll timeout and the DLQ x-message-ttl.
// In production: 300000 (5 min). In tests: 5000 (5 sec).
public int PagingAckTimeoutMs { get; init; } = 300000;
}