Browse Source

Update AzureDistributedEventBus.cs

pull/8375/head
maliming 5 years ago
committed by GitHub
parent
commit
159bc23f2d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      framework/src/Volo.Abp.EventBus.Azure/Volo/Abp/EventBus/Azure/AzureDistributedEventBus.cs

6
framework/src/Volo.Abp.EventBus.Azure/Volo/Abp/EventBus/Azure/AzureDistributedEventBus.cs

@ -26,16 +26,16 @@ namespace Volo.Abp.EventBus.Azure
private readonly ConcurrentDictionary<Type, List<IEventHandlerFactory>> _handlerFactories;
private readonly ConcurrentDictionary<string, Type> _eventTypes;
private IAzureServiceBusMessageConsumer _consumer;
public AzureDistributedEventBus(
IServiceScopeFactory serviceScopeFactory,
ICurrentTenant currentTenant,
IEventErrorHandler errorHandler,
IOptions<AbpAzureEventBusOptions> abpAzureEventBusOptions,
IOptions<AbpDistributedEventBusOptions> abpDistributedEventBusOptions,
IAzureServiceBusSerializer serializer,
IAzureServiceBusMessageConsumerFactory messageConsumerFactory,
IPublisherPool publisherPool)
: base(serviceScopeFactory, currentTenant)
: base(serviceScopeFactory, currentTenant, errorHandler)
{
_options = abpAzureEventBusOptions.Value;
_distributedEventBusOptions = abpDistributedEventBusOptions.Value;
@ -186,4 +186,4 @@ namespace Volo.Abp.EventBus.Azure
);
}
}
}
}

Loading…
Cancel
Save