Exemple #1
0
        protected void ConfigureRegistration <T>(IRegistrationConfigurator <T> configurator)
        {
            configurator.SetKebabCaseEndpointNameFormatter();

            configurator.AddConsumersFromNamespaceContaining <SubmitOrderConsumer>();

            configurator.AddServiceClient();

            configurator.AddRequestClient <SubmitOrder>();
            configurator.AddRequestClient <AuthorizeOrder>();

            configurator.AddBus(provider => BusControl);
        }