예제 #1
0
        public void ExchangeUnbind(string destination,
                                   string source,
                                   string routingKey,
                                   IDictionary <string, object> arguments)
        {
            RecordedBinding eb = new RecordedExchangeBinding(this).
                                 WithSource(source).
                                 WithDestination(destination).
                                 WithRoutingKey(routingKey).
                                 WithArguments(arguments);

            m_connection.DeleteRecordedBinding(eb);
            m_delegate.ExchangeUnbind(destination, source, routingKey, arguments);
            m_connection.MaybeDeleteRecordedAutoDeleteExchange(source);
        }