Exemplo n.º 1
0
 public QueueReaderService(
     IServiceProvider serviceProvider,
     RabbitMqConnection connection,
     QueueName queueName,
     MessageHandlerRepository messageHandlerRepository,
     ILogger <QueueReaderService> logger
     )
 {
     _serviceProvider          = serviceProvider;
     _connection               = connection;
     _queueName                = queueName;
     _messageHandlerRepository = messageHandlerRepository;
     _logger = logger;
 }
 public RabbitMqMessagePublisher(QueueName queueName, RabbitMqConnection connection)
 {
     _queueName  = queueName.Name;
     _connection = connection;
 }
Exemplo n.º 3
0
 public RabbitMqMessagePublisher(RabbitMqConnection connection)
 {
     _connection = connection;
 }
Exemplo n.º 4
0
 public RabbitMqConfig(RabbitMqConnection conn)
 {
     _conn = conn;
 }
Exemplo n.º 5
0
 public RabbitMqConfiguration(RabbitMqConnection connection)
 {
     _connection = connection;
 }