public void Configure(IConfiguration configuration, IClientBuilder clientBuilder)
 {
     clientBuilder
     .AddSqsStreams(SQSStreamProviderName, options =>
     {
         options.ConnectionString = AWSTestConstants.DefaultSQSConnectionString;
     });
 }
Ejemplo n.º 2
0
 public void Configure(IConfiguration configuration, IClientBuilder clientBuilder)
 {
     clientBuilder
     .AddSqsStreams(SQSStreamProviderName, (Action <Orleans.Configuration.SqsOptions>)(options =>
     {
         options.ConnectionString = AWSTestConstants.SqsConnectionString;
     }));
 }
 /// <summary>
 /// Configure cluster client to use SQS persistent streams.
 /// </summary>
 public static IClientBuilder AddSqsStreams(this IClientBuilder builder, string name, Action <SqsStreamOptions> configureOptions)
 {
     return(builder.AddSqsStreams(name, ob => ob.Configure(configureOptions)));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Configure cluster client to use SQS persistent streams.
 /// </summary>
 public static IClientBuilder AddSqsStreams(this IClientBuilder builder, string name, Action <ClusterClientSqsStreamConfigurator> configure)
 {
     configure?.Invoke(builder.AddSqsStreams(name));
     return(builder);
 }