Exemplo n.º 1
0
 public RabbitConfiguration AddBroker( Action<RabbitBrokerFluentConfigurator> configurate )
 {
     var configurator = new RabbitBrokerFluentConfigurator();
     configurate( configurator );
     AddBroker( configurator.RabbitBroker );
     return this;
 }
Exemplo n.º 2
0
        public RabbitConfigurator Server(Action <RabbitBrokerFluentConfigurator> configurate)
        {
            var configurator = new RabbitBrokerFluentConfigurator();

            configurate(configurator);
            Configuration.AddBroker(configurator.RabbitBroker);
            return(this);
        }