Beispiel #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);
        }
 public RabbitPublishChannel(RabbitBus bus)
 {
     this.bus               = bus;
     advancedBus            = bus.Advanced;
     advancedPublishChannel = advancedBus.OpenPublishChannel();
 }
Beispiel #3
0
 public RabbitPublishChannel(RabbitBus bus, Action <IChannelConfiguration> configure)
 {
     this.bus               = bus;
     advancedBus            = bus.Advanced;
     advancedPublishChannel = advancedBus.OpenPublishChannel(configure);
 }