Add missing dependency and rename the rabbitmq eventbus module

pull/594/head
Halil ibrahim Kalkan 6 years ago
parent 1016a1662d
commit dc55f9903c

@ -0,0 +1,13 @@
using Volo.Abp.Modularity;
using Volo.Abp.RabbitMQ;
namespace Volo.Abp.EventBus.Distributed.RabbitMq
{
[DependsOn(
typeof(AbpEventBusModule),
typeof(AbpRabbitMqModule))]
public class AbpEventBusRabbitMqModule : AbpModule
{
}
}

@ -1,10 +0,0 @@
using Volo.Abp.Modularity;
namespace Volo.Abp.EventBus.Distributed.RabbitMq
{
[DependsOn(typeof(AbpEventBusModule))]
public class AbpRabbitMqDistributedEventBusModule : AbpModule
{
}
}

@ -4,6 +4,7 @@ using Volo.Abp.DependencyInjection;
namespace Volo.Abp.EventBus.Distributed
{
[Dependency(TryRegister = true)]
public class LocalDistributedEventBus : IDistributedEventBus, ITransientDependency
{
private readonly IEventBus _eventBus;

Loading…
Cancel
Save