feat(templateMatcher): init. сделан воркер, контроллер. перенесена логика из TemplateTaskGenerator
This commit is contained in:
@@ -8,6 +8,7 @@ namespace PARR.API.Settings
|
||||
public MqTemplateDistributor TemplateDistributor { get; set; } = new MqTemplateDistributor();
|
||||
public MqTemplateActivator TemplateActivator { get; set; } = new MqTemplateActivator();
|
||||
public MqStatistics Statistics { get; set; } = new MqStatistics();
|
||||
public MqTemplatesMatcher TemplatesMatcher { get; set; } = new MqTemplatesMatcher();
|
||||
}
|
||||
|
||||
public class MqGenerateTemplates : IMqSettings
|
||||
@@ -50,4 +51,13 @@ namespace PARR.API.Settings
|
||||
public string Password { get; set; } = string.Empty;
|
||||
public ushort? PrefetchCount { get; set; } = 0;
|
||||
}
|
||||
|
||||
public class MqTemplatesMatcher : 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