AspireRabbitMQExtensions
Class static net10.0
Extension methods for connecting to a RabbitMQ message broker.
namespace Microsoft.Extensions.Hosting;
public static class AspireRabbitMQExtensions{ // ...}Methods2
Section titled MethodsAddKeyedRabbitMQClient(IHostApplicationBuilder, string, Action<RabbitMQClientSettings>, Action<ConnectionFactory>)extension 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. AddRabbitMQClient(IHostApplicationBuilder, string, Action<RabbitMQClientSettings>, Action<ConnectionFactory>)extension Registers
Client.IConnection as a singleton in the services provided by the builder. Enables retries, corresponding health check, logging, and telemetry.