Exemplo n.º 1
0
        public RabbitPublishChannel(RabbitBus bus, Action <IChannelConfiguration> configure, IConventions conventions)
        {
            Preconditions.CheckNotNull(conventions, "conventions");

            this.bus               = bus;
            this.conventions       = conventions;
            advancedBus            = bus.Advanced;
            advancedPublishChannel = advancedBus.OpenPublishChannel(configure);
        }
Exemplo n.º 2
0
 public RabbitPublishChannel(RabbitBus bus)
 {
     this.bus               = bus;
     advancedBus            = bus.Advanced;
     advancedPublishChannel = advancedBus.OpenPublishChannel();
 }
Exemplo n.º 3
0
 public RabbitPublishChannel(RabbitBus bus, Action <IChannelConfiguration> configure)
 {
     this.bus               = bus;
     advancedBus            = bus.Advanced;
     advancedPublishChannel = advancedBus.OpenPublishChannel(configure);
 }