protected override IBusControl CreateBus() { var configurator = new InMemoryBusFactoryConfigurator(_busConfiguration); ConfigureBus(configurator); ConfigureInMemoryBus(configurator); configurator.ReceiveEndpoint(InputQueueName, e => { ConfigureReceiveEndpoint(e); ConfigureInMemoryReceiveEndpoint(e); }); return(configurator.Build(_busConfiguration, _specifications ?? Enumerable.Empty <ISpecification>())); }
public void ConfigureReceiveEndpoint(Action <IReceiveEndpointConfigurator> configureCallback) { _configurator.ReceiveEndpoint("input_queue", configureCallback); }