AspireRabbitMQExtensions
Classstaticnet10.0
Extension methods for connecting to a RabbitMQ message broker.
namespace Microsoft.Extensions.Hosting;
public static class AspireRabbitMQExtensions{ // ...}Methods2
Section titled Methods Registers
Client.IConnection as a keyed singleton for the given name in the services provided by the builder. Enables retries, corresponding health check, logging, and telemetry. Registers
Client.IConnection as a singleton in the services provided by the builder. Enables retries, corresponding health check, logging, and telemetry.