示例#1
0
 public RabbitResponseQueuePrepared(ILogger <RabbitResponseQueuePrepared> log, RabbitClientOptions option,
                                    IRabbitConnectionFactory connectionFactory)
 {
     _log               = log;
     _option            = option;
     _connectionFactory = connectionFactory;
 }
示例#2
0
        /// <inheritdoc />
        public RabbitQueueClient(RabbitClientOptions option, IRabbitResponseQueuePrepared queuePrepared, ILogger <RabbitQueueClient> log, IRabbitConnectionFactory connectionFactory, IOptions <RabbitRequestOption> opt)
        {
            _option = option ?? throw new ArgumentNullException(nameof(option));

            _queuePrepared     = queuePrepared;
            _log               = log;
            _connectionFactory = connectionFactory;
        }