public TransactionProcessorIntegrationEventQueue(IQueueChannelManager responseQueueChannelManager, IQueueSettingsResolver queueSettingsResolver, IQueueFactory responseQueueFactory, ILoggerFactory loggerFactory) { _logger = loggerFactory.GetLogger <IntegrationEventQueue>(); _responseQueueChannelManager = responseQueueChannelManager; _settings = queueSettingsResolver.GetSettings(nameof(IntegrationEventQueue)); responseQueueFactory.CreateExchange(_settings); }
public IntegrationEventQueue(IQueueChannelManager responseQueueChannelManager, IQueueSettingsResolver queueSettingsResolver, IQueueFactory responseQueueFactory, ILoggerFactory loggerFactory) { _logger = loggerFactory.GetLogger <IntegrationEventQueue>(); _responseQueueChannelManager = responseQueueChannelManager; _settings = queueSettingsResolver.GetSettings(nameof(IntegrationEventQueue)); responseQueueFactory.SetupQueue(_settings); }
public QueueListener(ILoggerFactory loggerFactory, IQueueChannelManager queueChannelManager, IQueueSettingsResolver queueSettingsResolver, IQueueFactory queueFactory, IServiceProvider serviceProvider) { _serviceProvider = serviceProvider; _logger = loggerFactory.GetLogger <QueueListener>(); _settings = queueSettingsResolver.GetSettings(nameof(QueueListener)); _channel = queueChannelManager.GetChannel(); _consumer = new EventingBasicConsumer(_channel); queueFactory.SetupQueue(_settings); }
public QueueFactory(IQueueChannelManager queueChannelManager, ILoggerFactory loggerFactory) { _logger = loggerFactory.GetLogger <QueueFactory>(); _queueChannelManager = queueChannelManager; }