Make sure you have .NET 8 installed.
Make sure you have RabbitMQ installed. See the downloads page for options (scroll down to the "Downloads on GitHub" section for the Windows installer).
Optionally, enable the management UI by first enabling the management plugin:
rabbitmq-plugins enable rabbitmq_management
Then navigate to the management UI at http://localhost:15672/ to see the status of your RabbitMQ service. The default credentials are guest:guest
(username:password).
Build the solution.
dotnet clean
dotnet build .\RmqTesting.sln
Run Runner.exe
then supply an instance count (number of Runtime.exe
processes) and message count (number of messages each instance will send to RabbitMQ).
.\Runner\bin\Debug\net8.0\Runner.exe
Alternatively, run Runtime.exe
directly by passing the message count as the only argument. This will not show any progress in the console, but it might be useful if you want to observe from the management UI.
.\Runtime\bin\Debug\net8.0\Runtime.exe 10