Skip to content

Commit

Permalink
service definition order has been changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
byerlikaya committed Jun 14, 2024
1 parent f30c5a9 commit 8cbacf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public static void AddRabbitMQClient(this IServiceCollection services, IConfigur
DispatchConsumersAsync = true
});

services.AddSingleton<RabbitMQClientService>();
services.AddSingleton<IMessageProducer, MessageProducer>();
services.AddSingleton<IMessageConsumer, MessageConsumer>();
services.AddSingleton<RabbitMQClientService>();
}
}

0 comments on commit 8cbacf5

Please sign in to comment.