2024-09-12 15:05:47 +10:00
|
|
|
|
using PARR.BLL.Contracts.Interfaces;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.JobAutoControl.Settings
|
|
|
|
|
|
{
|
|
|
|
|
|
internal class MqSettings
|
|
|
|
|
|
{
|
2025-12-09 08:40:05 +10:00
|
|
|
|
public TemplateMatcher TemplateMatcher { get; set; } = new TemplateMatcher();
|
2024-09-12 15:05:47 +10:00
|
|
|
|
}
|
|
|
|
|
|
|
2025-12-09 08:40:05 +10:00
|
|
|
|
internal class TemplateMatcher : IMqSettings
|
2024-09-12 15:05:47 +10:00
|
|
|
|
{
|
|
|
|
|
|
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;
|
2025-08-20 14:10:22 +10:00
|
|
|
|
public ushort? PrefetchCount { get; set; } = 0;
|
2024-09-12 15:05:47 +10:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|