Esempio n. 1
0
        public IModel CreateModel()
        {
            ISession   session = CreateSession();
            IFullModel model   = (IFullModel)Protocol.CreateModel(session);

            model._Private_ChannelOpen("");
            return(model);
        }
 public RabbitMQChannel(
     RabbitMQConnectionDeclaration connectionDeclaration,
     IFullModel channel,
     ILogger <RabbitMQChannel> logger)
 {
     this.logger           = logger;
     this.channel          = channel;
     ConnectionDeclaration = connectionDeclaration;
 }