public RabbitMQConsumer(RabbitMQConnector connection) { _connection = connection; }
public IRabbitMQProducer CreateProducer(QueueId queueId) { var connector = new RabbitMQConnector(_options, queueId, LoggerFactory.CreateLogger($"{typeof(RabbitMQProducer).FullName}.{queueId}")); return(new RabbitMQProducer(connector)); }
public RabbitMQProducer(RabbitMQConnector connection) { _connection = connection; }