コード例 #1
0
        public override void Recover()
        {
            var queueName = IsServerNamed ? string.Empty : Name;
            var result    = ModelDelegate.QueueDeclare(queueName, _durable, _exclusive, IsAutoDelete, _arguments);

            Name = result.QueueName;
        }
コード例 #2
0
        public void Recover()
        {
            QueueDeclareOk ok = ModelDelegate.QueueDeclare(NameToUseForRecovery, durable,
                                                           exclusive, IsAutoDelete,
                                                           arguments);

            Name = ok.QueueName;
        }
コード例 #3
0
        public void Recover()
        {
            var ok = ModelDelegate.QueueDeclare(NameToUseForRecovery, this.durable,
                                                this.exclusive, this.autoDelete,
                                                this.arguments);

            this.name = ok.QueueName;
        }