public void Configure(IConfiguration configuration, IClientBuilder clientBuilder)
 {
     clientBuilder
     .AddMemoryStreams <DefaultMemoryMessageBodySerializer>(StreamProviderName);
 }
 public void Configure(IConfiguration configuration, IClientBuilder clientBuilder) => clientBuilder
 .AddMemoryStreams <DefaultMemoryMessageBodySerializer>(StreamProviderName, b => b
                                                        .ConfigurePartitioning(partitionCount));
Ejemplo n.º 3
0
 public void Configure(IConfiguration configuration, IClientBuilder clientBuilder) => clientBuilder
 .AddMemoryStreams <DefaultMemoryMessageBodySerializer>(StreamBatchingTestConst.ProviderName, b => b
                                                        .ConfigurePartitioning(partitionCount)
                                                        .ConfigureStreamPubSub(StreamPubSubType.ImplicitOnly));