protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.ConfigureSaga <TestInstance>(Registration, x => { x.Message <StartTest>(m => m.UseFilter(CreateMessageFilter())); x.UseFilter(CreateSagaFilter()); x.SagaMessage <StartTest>(m => m.UseFilter(CreateSagaMessageFilter())); }); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.UseMessageRetry(r => r.Immediate(5)); // TODO figure out why Postgres locking isn't working :( if (DbContextOptionsBuilder.Options.Extensions.Any(x => x is NpgsqlOptionsExtension)) { configurator.UseInMemoryOutbox(); } configurator.ConfigureSaga <TestInstance>(_provider); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.UseInMemoryOutbox(); configurator.ConfigureSaga <TestInstance>(_provider.GetRequiredService <IBusRegistrationContext>()); }
protected override void ConfigureSagaStateMachine(IInMemoryReceiveEndpointConfigurator configurator) { configurator.ConfigureSaga <TestInstance>(_container); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.ConfigureSaga <TestInstance>(_container.Resolve <IBusRegistrationContext>()); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.UseInMemoryOutbox(); configurator.ConfigureSaga <TestInstance>(_provider); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.UseMessageRetry(r => r.Immediate(5)); configurator.UseInMemoryOutbox(); configurator.ConfigureSaga <TestInstance>(_provider); }
protected override void ConfigureSaga(IInMemoryReceiveEndpointConfigurator configurator) { configurator.ConfigureSaga <SimpleSaga>(_container); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.ConfigureSaga <SimpleSaga>(Registration); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.ConfigureSaga <TestInstance>(Registration); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.UseMessageRetry(r => r.Immediate(5)); configurator.UseInMemoryOutbox(); configurator.ConfigureSaga <TestInstance>(_provider.GetRequiredService <IRiderRegistrationContext>()); }