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;

    /// <summary>
    /// When true, enables TLS on the AMQP connection (typical production port 5671).
    /// Local compose uses plaintext on 5674/5672 — leave false.
    /// </summary>
    public bool UseSsl { get; init; } = false;
}
