Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
luizcarlosfaria authored Jun 3, 2024
1 parent 4ce10b2 commit b30a6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ builder.Services.MapQueue<BusinessService, BusinessCommandOrEvent>(config => con
.WithDispatchInChildScope()
.WithKeyedService("key-of-service-1")
.WithAdapter((svc, msg) => svc.DoSomethingAsync(msg))
.WithQueueName("events")
.WithQueueName("events1")
.WithPrefetchCount(1)
);

builder.Services.MapQueue<BusinessService, BusinessCommandOrEvent>(config => config
.WithDispatchInChildScope()
.WithKeyedService("key-of-service-2")
.WithAdapter((svc, msg) => svc.DoSomethingAsync(msg))
.WithQueueName("events")
.WithQueueName("events2")
.WithPrefetchCount(1)
);

Expand Down

0 comments on commit b30a6aa

Please sign in to comment.