This project is based on eshopOnContainers RabbitMQ implementation and uses Serilog's logger for logging.
dotnet add package Biplov.EventBus.RabbitMQ
Register the RabbitMQ connection by invoking RegisterRabbitMqConnection function. For example:
services.RegisterRabbitMqConnection(Log.Logger, "foo.com",
"testUser", "password", 3)
Register the EventBus
services.AddRabbitMqEventBus(Log.Logger, "myClientApp", 3)