Producer - creates some messages and sent them to the queue. Consumer - listens for new messages to appear within the queue and processes them.
Run producer and consumer simultaneously.
Run 3 consumer instances and 1 producer instance.
- Add
await Task.Delay(TimeSpan.FromSeconds(5))
to consumer. - Set
MaxConcurrentCalls = 3
for consumer. - Run producer and consumer simultaneously.