Exemple #1
0
        protected void ConfigureRegistration <T>(IRegistrationConfigurator <T> configurator)
        {
            configurator.AddConsumer <OrderConsumer>();
            configurator.AddSaga <OrderSaga>()
            .InMemoryRepository();

            configurator.AddMediator();
        }
Exemple #2
0
        protected void ConfigureRegistration <T>(IRegistrationConfigurator <T> configurator)
        {
            configurator.AddConsumer <InitialConsumer>();
            configurator.AddConsumer <SubsequentConsumer>();

            configurator.AddRequestClient <InitialRequest>();
            configurator.AddRequestClient <SubsequentRequest>();
            configurator.AddMediator();
        }
Exemple #3
0
        protected void ConfigureRegistration <T>(IRegistrationConfigurator <T> configurator)
        {
            configurator.AddConsumer <SimplerConsumer>();

            configurator.AddMediator();
        }