mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-29 18:21:08 +00:00
12 lines
416 B
C#
12 lines
416 B
C#
namespace CleanArchitecture.Domain.Rabbitmq;
|
|
|
|
public sealed class RabbitMqConfiguration
|
|
{
|
|
public string Host { get; set; } = string.Empty;
|
|
public int Port { get; set; }
|
|
public bool Enabled { get; set; }
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
public string ConnectionString => $"amqp://{Username}:{Password}@{Host}:{Port}";
|
|
} |