public ConsumerConfiguration Create(string queueName, string exchangeName, string routingKey)
        {
            var cfg = new ConsumerConfiguration
            {
                Queue    = _queue.Create(queueName),
                Exchange = _exchange.Create(exchangeName),
                Consume  = _consume.Create(queueName, exchangeName, routingKey)
            };

            return(cfg);
        }
Exemple #2
0
 public ConsumerConfigurationBuilder(ConsumerConfiguration initial)
 {
     Config = initial;
 }