Bladeren bron

增加MQ名称

dev_1.0.2
stevelee 2 jaren geleden
bovenliggende
commit
11ebfe2309
2 gewijzigde bestanden met toevoegingen van 23 en 3 verwijderingen
  1. +1
    -1
      src/BPA.Common.Infrastructure/BPA.Common.Infrastructure.csproj
  2. +22
    -2
      src/BPA.Common.Infrastructure/Queue/MqNameConfig.cs

+ 1
- 1
src/BPA.Common.Infrastructure/BPA.Common.Infrastructure.csproj Bestand weergeven

@@ -3,7 +3,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>1.0.11</VersionPrefix>
<VersionPrefix>1.0.12</VersionPrefix>
<PackageReleaseNotes />
</PropertyGroup>
<ItemGroup>


+ 22
- 2
src/BPA.Common.Infrastructure/Queue/MqNameConfig.cs Bestand weergeven

@@ -5,12 +5,32 @@ namespace BPA.Common.Infrastructure.Queue;
public static class MqNameConfig
{
/// <summary>
/// 业务日志交换机名称
/// 业务日志 交换机名称
/// </summary>
public static ExchangeName BizLogExchange => ExchangeName.Build(nameof(BizLogExchange));

/// <summary>
/// 业务日志队列名称
/// 业务日志 队列名称
/// </summary>
public static QueueName BizLogQueue => QueueName.Build(nameof(BizLogQueue));

/// <summary>
/// 任务调度 数据同步 交换机名称
/// </summary>
public static ExchangeName SynDataTaskScheduleExchange = ExchangeName.Build(nameof(SynDataTaskScheduleExchange));

/// <summary>
/// 任务调度任意时间任务 交换机名称
/// </summary>
public static ExchangeName AnyTimeTaskScheduleExchange = ExchangeName.Build(nameof(AnyTimeTaskScheduleExchange));

/// <summary>
/// 任务调度任意时间任务 队列名称
/// </summary>
public static QueueName AnyTimeTaskScheduleQueue = QueueName.Build(nameof(AnyTimeTaskScheduleQueue));

/// <summary>
/// 任务调度 数据同步 队列名称
/// </summary>
public static QueueName SynDataTaskScheduleQueue => QueueName.BuildDynamic(nameof(SynDataTaskScheduleQueue));
}

Laden…
Annuleren
Opslaan