Skip to content

Commit

Permalink
fix queue names for Notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ppossanzini committed Nov 25, 2024
1 parent 4e7fd71 commit 7df3426
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Arbitrer.RabbitMQ/Arbitrer.RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="RabbitMQ.Client" Version="7.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.*" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="MediatR" Version="12.*" />
<PackageReference Include="MediatR" Version="12.4.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Arbitrer\Arbitrer.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion Arbitrer.RabbitMQ/Extensions/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static ArbitrerOptions NotificationsInASingleQueue(this ArbitrerOptions o

foreach (var n in notifications.Where(t => t.IsNotification()))
{
options.SetTypeQueueName(n, $"{n.ArbitrerTypeName(options)}${Assembly.GetEntryAssembly()?.FullName}");
options.SetTypeQueueName(n, $"{n.ArbitrerTypeName(options)}${Assembly.GetEntryAssembly()?.GetName().Name.Replace(".","_")}");
}

return options;
Expand Down
4 changes: 2 additions & 2 deletions Arbitrer/Arbitrer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<PackageReference Include="MediatR" Version="12.*" />
<PackageReference Include="MediatR" Version="12.4.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.*" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
</Project>

0 comments on commit 7df3426

Please sign in to comment.