22 lines
570 B
C#
22 lines
570 B
C#
using PARR.Domain.Settings;
|
|
|
|
namespace PARR.JobAutoControl.Settings
|
|
{
|
|
internal class MqSettings
|
|
{
|
|
public TemplateMatcher TemplateMatcher { get; set; } = new TemplateMatcher();
|
|
}
|
|
|
|
internal class TemplateMatcher : IMqSettings
|
|
{
|
|
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;
|
|
}
|
|
|
|
|
|
|
|
}
|