feat(job-auto-control): Переделал согласно новой структуры. Отправляет задания в matcher.
This commit is contained in:
@@ -4,11 +4,10 @@ namespace PARR.JobAutoControl.Settings
|
||||
{
|
||||
internal class MqSettings
|
||||
{
|
||||
public Generator Generator { get; set; }
|
||||
public Activator Activator { get; set; }
|
||||
public TemplateMatcher TemplateMatcher { get; set; } = new TemplateMatcher();
|
||||
}
|
||||
|
||||
internal class Generator : IMqSettings
|
||||
internal class TemplateMatcher : IMqSettings
|
||||
{
|
||||
public string HostName { get; set; } = string.Empty;
|
||||
public string QueueName { get; set; } = string.Empty;
|
||||
@@ -17,14 +16,6 @@ namespace PARR.JobAutoControl.Settings
|
||||
public ushort? PrefetchCount { get; set; } = 0;
|
||||
}
|
||||
|
||||
internal class Activator : 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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user