namespace Svrnty.CQRS.Events.RabbitMQ;
///
/// Configuration options for RabbitMQ domain event publishing.
///
public class RabbitMqEventOptions
{
///
/// RabbitMQ host name. Default: localhost
///
public string HostName { get; set; } = "localhost";
///
/// RabbitMQ port. Default: 5672
///
public int Port { get; set; } = 5672;
///
/// RabbitMQ username. Default: guest
///
public string UserName { get; set; } = "guest";
///
/// RabbitMQ password. Default: guest
///
public string Password { get; set; } = "guest";
///
/// RabbitMQ virtual host. Default: /
///
public string VirtualHost { get; set; } = "/";
///
/// Exchange name for domain events. Default: domain.events
///
public string Exchange { get; set; } = "domain.events";
///
/// Whether to use durable exchanges. Default: true
///
public bool Durable { get; set; } = true;
}