2026-04-14 12:01:49 +10:00
|
|
|
|
using PARR.Domain.Settings;
|
2026-02-27 14:05:25 +10:00
|
|
|
|
|
|
|
|
|
|
namespace PARR.NextRun.Settings
|
2024-02-05 16:05:02 +10:00
|
|
|
|
{
|
|
|
|
|
|
internal class WorkerSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
public TimeSpan RepeatEvery { get; set; }
|
2026-02-27 14:05:25 +10:00
|
|
|
|
|
|
|
|
|
|
public MqSettings? MqSettings { get; set; }
|
2024-02-05 16:05:02 +10:00
|
|
|
|
}
|
2026-02-27 14:05:25 +10:00
|
|
|
|
|
|
|
|
|
|
internal class MqSettings : IMqSettings
|
|
|
|
|
|
{
|
2026-04-14 12:01:49 +10:00
|
|
|
|
public string HostName { get; init; } = string.Empty;
|
|
|
|
|
|
public string QueueName { get; init; } = string.Empty;
|
|
|
|
|
|
public string User { get; init; } = string.Empty;
|
|
|
|
|
|
public string Password { get; init; } = string.Empty;
|
|
|
|
|
|
public ushort? PrefetchCount { get; init; } = 0;
|
2026-02-27 14:05:25 +10:00
|
|
|
|
}
|
|
|
|
|
|
|
2024-02-05 16:05:02 +10:00
|
|
|
|
}
|