mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
598 B
20 lines
598 B
using Volo.Abp.BackgroundWorkers;
|
|
using Volo.Abp.DistributedLocking;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.EventBus.Boxes
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpEventBusModule),
|
|
typeof(AbpBackgroundWorkersModule),
|
|
typeof(AbpDistributedLockingModule)
|
|
)]
|
|
public class AbpEventBusBoxesModule : AbpModule
|
|
{
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context)
|
|
{
|
|
context.AddBackgroundWorker<OutboxSenderManager>();
|
|
context.AddBackgroundWorker<InboxProcessManager>();
|
|
}
|
|
}
|
|
} |