diff --git a/README.md b/README.md index c69e780..e0dca51 100644 --- a/README.md +++ b/README.md @@ -70,12 +70,12 @@ builder.Services.MapQueue(config => con ``` -#### Scoped and Keyed Services, Same Type, Multiple Consumers +#### Scoped and Keyed Services, Same Type, Multiple Consumers, Using NewtonsoftAMQPSerializer ```cs builder.Services.AddKeyedScoped("key-of-service-1"); builder.Services.AddKeyedScoped("key-of-service-2", (sp, key) => new BusinessService(... custom dependencies ...)); -builder.Services.AddSingleton(); +builder.Services.AddSingleton(); builder.Services.MapQueue(config => config .WithDispatchInChildScope()