Conversation
There was a problem hiding this comment.
public void ConfigureServices(IServiceCollection services)
{
services.AddOptions<RabbitMqOptions>().Bind(Configuration.GetSection("Orleans:RabbitMq"));
}
public void Configure(ISiloBuilder silo)
{
silo..UseRabbitMqStreams(StreamProviders.RabbitMq);
}
Exception, line 45, RabbitMqOptions
Orleans.Runtime.OrleansConfigurationException: 'Missing required parameter 'HostName' on stream provider RabbitMq!'
https://github.com/Kermittt/squeaker-sam/tree/rabbit-di-pattern-change
| /// </summary> | ||
| public static IClientBuilder UseRabbitMqStreams(this IClientBuilder builder, string name, Action<RabbitMqOptions> options) | ||
| { | ||
| return UseRabbitMqStream<DefaultBatchContainerSerializer>(builder, name, options); |
There was a problem hiding this comment.
Is this a typo? Sometimes it seems to be plural and sometimes singular.
The name 'UseRabbitMqStream' does not exist in the current context
There was a problem hiding this comment.
The original methods (marked [Obsolete]) are singular. The new ones are plural
| /// <summary> | ||
| /// Configure client to use RMQ persistent streams, using the <see cref="DefaultBatchContainerSerializer"/>. | ||
| /// </summary> | ||
| [Obsolete("Use 'UseRabbitMqSteams'")] |
There was a problem hiding this comment.
Another type here. Missing an r.
UseRabbitMqSteams
|
I think I know why this couldn't find the |
No description provided.