Browse Source

Add missing dependency and rename the rabbitmq eventbus module

pull/594/head
Halil ibrahim Kalkan 7 years ago
parent
commit
dc55f9903c
  1. 13
      framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpEventBusRabbitMqModule.cs
  2. 10
      framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpRabbitMqDistributedEventBusModule.cs
  3. 1
      framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/LocalDistributedEventBus.cs

13
framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpEventBusRabbitMqModule.cs

@ -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
{
}
}

10
framework/src/Volo.Abp.EventBus.Distributed.RabbitMQ/Volo/Abp/EventBus/Distributed/RabbitMq/AbpRabbitMqDistributedEventBusModule.cs

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

1
framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/LocalDistributedEventBus.cs

@ -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