protected void ConfigureRegistration(IBusRegistrationConfigurator configurator) { configurator.SetKebabCaseEndpointNameFormatter(); configurator.AddConsumersFromNamespaceContaining <CrunchTheNumbersConsumer>(); configurator.AddServiceClient(); configurator.AddRequestClient <CrunchTheNumbers>(); configurator.AddBus(provider => BusControl); }
protected void ConfigureRegistration(IBusRegistrationConfigurator configurator) { configurator.SetKebabCaseEndpointNameFormatter(); configurator.AddConsumersFromNamespaceContaining <SubmitOrderConsumer>(); configurator.AddServiceClient(); configurator.AddRequestClient <SubmitOrder>(); configurator.AddRequestClient <AuthorizeOrder>(); configurator.AddBus(provider => BusControl); }