977a20fd977f6329abdbf1fe7632d27b05124ec1
Refactored the registration of `RabbitMqConnectionFactory` and RabbitMQ configuration into a new `AddRabbitMqConnectionFactory` extension method for improved modularity and reusability. - Removed direct calls to `AddSingleton<RabbitMqConnectionFactory>` and `Configure<RabbitMqConfiguration>` from the main `DependencyInjection` class. - Added a new static `DependencyInjection` class under the `DigitalData.MessagingService.RabbitMQ` namespace. - The new `AddRabbitMqConnectionFactory` method encapsulates RabbitMQ DI logic and accepts `IServiceCollection` and `IConfiguration` as parameters. - Updated `DependencyInjection.cs` to use the new extension method.
DigitalData.MessagingService
Description
Languages
C#
100%