Minor refactoring in method from ServiceBus to EventBus

This commit is contained in:
Cesar De la Torre 2017-05-20 10:17:06 -07:00
parent 242c1daacf
commit 5a3a94bba6

View File

@ -71,7 +71,7 @@
return new DefaultRabbitMQPersistentConnection(factory, logger);
});
RegisterServiceBus(services);
RegisterEventBus(services);
var container = new ContainerBuilder();
container.Populate(services);
@ -85,7 +85,7 @@
.AddConsole(LogLevel.Debug);
}
private static void RegisterServiceBus(IServiceCollection services)
private static void RegisterEventBus(IServiceCollection services)
{
services.AddSingleton<IEventBus, EventBusRabbitMQ>();
services.AddSingleton<IEventBusSubscriptionsManager, InMemoryEventBusSubscriptionsManager>();