public void BasicCancel(string consumerTag)
        {
            RecordedConsumer cons = _connection.DeleteRecordedConsumer(consumerTag);

            if (cons != null)
            {
                _connection.MaybeDeleteRecordedAutoDeleteQueue(cons.Queue);
            }
            _delegate.BasicCancel(consumerTag);
        }
Exemplo n.º 2
0
        public Task BasicCancel(string consumerTag)
        {
            RecordedConsumer cons = m_connection.DeleteRecordedConsumer(consumerTag);

            if (cons != null)
            {
                m_connection.MaybeDeleteRecordedAutoDeleteQueue(cons.Queue);
            }
            return(m_delegate.BasicCancel(consumerTag));
        }