protected void ConfigureRegistration(IBusRegistrationConfigurator configurator) { configurator.AddSaga <SimpleSaga>() .Endpoint(e => e.Name = "custom-endpoint-name") .InMemoryRepository(); configurator.AddSaga <SecondSimpleSaga>(typeof(SecondSimpleSagaDefinition)) .Endpoint(e => e.Temporary = true) .InMemoryRepository(); configurator.AddBus(provider => BusControl); }
protected void ConfigureRegistration(IBusRegistrationConfigurator configurator) { configurator.AddSaga <SimpleSaga>() .InMemoryRepository(); configurator.AddBus(provider => BusControl); }