Ejemplo n.º 1
0
        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);
        }
 public ConsumerConfigurationBuilder(ConsumerConfiguration initial)
 {
     Config = initial;
 }