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