Exemple #1
0
 public QueueConsumerService(
     ILogger <QueueConsumerService> logger,
     IEventBusSubscriber eventBusSubscriber,
     IConsumerWorkerConfigProvider consumerWorkerConfigProvider)
 {
     _logger = logger;
     this.eventBusSubscriber           = eventBusSubscriber;
     this.consumerWorkerConfigProvider = consumerWorkerConfigProvider;
 }
Exemple #2
0
 public BasketBusinessServices(IDistributedCacheRepository distributedCacheRepository,
                               IAzureTableStorageRespository <ProductTableEntity> productRepository,
                               ILogger <BasketBusinessServices> logger,
                               IEventBusPublisher eventBusPublisher,
                               IEventBusSubscriber eventBusSubscriber,
                               IRestClient restClient,
                               TelemetryClient telemetryClient)
 {
     _distributedCacheRepository = distributedCacheRepository;
     _productRepository          = productRepository;
     _logger             = logger;
     _eventBusPublisher  = eventBusPublisher;
     _eventBusSubscriber = eventBusSubscriber;
     _restClient         = restClient;
     _telemetryClient    = telemetryClient;
 }
Exemple #3
0
 public EventBusRegistrationStartable(IEventBusSubscriber subscriber)
 {
     _subscriber = subscriber;
 }
Exemple #4
0
        public EdcSubscriptionService(IEventBusSubscriber eventBusSubscriber)
        {
            Ensure.That(eventBusSubscriber).IsNotNull();

            _eventBusSubscriber = eventBusSubscriber;
        }
 public MessageBrokerWorker(IEventBusSubscriber eventBusSubscriber)
 {
     _eventBusSubscriber = eventBusSubscriber;
 }