Files
parr_api/PARR.JobAutoControl/Settings/MqSettings.cs

22 lines
574 B
C#

using PARR.BLL.Contracts.Interfaces;
namespace PARR.JobAutoControl.Settings
{
internal class MqSettings
{
public TemplateMatcher TemplateMatcher { get; set; } = new TemplateMatcher();
}
internal class TemplateMatcher : IMqSettings
{
public string HostName { get; set; } = string.Empty;
public string QueueName { get; set; } = string.Empty;
public string User { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
public ushort? PrefetchCount { get; set; } = 0;
}
}