protected override void ConfigureMassTransit(IServiceCollectionConfigurator configurator) { // Configure scheduler service consumers. configurator.AddConsumer <ScheduleMessageConsumer>(); configurator.AddConsumer <CancelScheduledMessageConsumer>(); // configure workflow consumers configurator.AddWorkflowConsumer <CartCreated>(); configurator.AddWorkflowConsumer <CartItemAdded>(); configurator.AddWorkflowConsumer <OrderSubmitted>(); configurator.AddWorkflowConsumer <CartExpiredEvent>(); // host fake service consumers configurator.AddConsumer <CartRemovedConsumer>(); }