From 76ed546018314c4928980ee6a3ff82688a5b9cb9 Mon Sep 17 00:00:00 2001 From: Young Date: Thu, 10 Oct 2024 14:57:02 +0800 Subject: [PATCH] add rabbitmq connection options --- src/Infrastructure/Options/RabbitMqOptions.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/Infrastructure/Options/RabbitMqOptions.cs diff --git a/src/Infrastructure/Options/RabbitMqOptions.cs b/src/Infrastructure/Options/RabbitMqOptions.cs new file mode 100644 index 0000000..c9abc5d --- /dev/null +++ b/src/Infrastructure/Options/RabbitMqOptions.cs @@ -0,0 +1,14 @@ +namespace Infrastructure.Options; + +public class RabbitMqOptions +{ + public string Host { get; set; } = string.Empty; + + public string VirtualHost { get; set; } = string.Empty; + + public string UserName { get; set; } = string.Empty; + + public string Password { get; set; } = string.Empty; + + public int Port { get; set; } +} \ No newline at end of file