1 write to MaxConnectRetryCount
Aspire.RabbitMQ.Client.Tests (1)
ConformanceTests.cs (1)
100
options.
MaxConnectRetryCount
= 0;
2 references to MaxConnectRetryCount
Aspire.RabbitMQ.Client (2)
AspireRabbitMQExtensions.cs (2)
115
builder.Services.AddSingleton<IConnection>(sp => CreateConnection(sp.GetRequiredService<IConnectionFactory>(), settings.
MaxConnectRetryCount
));
120
builder.Services.AddKeyedSingleton<IConnection>(serviceKey, (sp, key) => CreateConnection(sp.GetRequiredKeyedService<IConnectionFactory>(key), settings.
MaxConnectRetryCount
));