protected override void ConfigureServiceBusReceiveEndpoint(IServiceBusReceiveEndpointConfigurator configurator) { configurator.RequiresSession = true; configurator.EnablePartitioning = true; configurator.UseInMemoryOutbox(); configurator.ConfigureSaga <TestInstance>(_provider.GetRequiredService <IBusRegistrationContext>()); }
protected override void ConfigureServiceBusReceiveEndpoint(IServiceBusReceiveEndpointConfigurator configurator) { configurator.UseDelayedRedelivery(r => r.Interval(1, TimeSpan.FromMilliseconds(100))); configurator.UseRetry(r => r.Interval(1, TimeSpan.FromMilliseconds(100))); configurator.UseInMemoryOutbox(); configurator.Consumer <TestHandler>(); }