def unbind_redundant_bindings(queue, routing_keys)
      return unless http_api_use_enabled?

      bindings.each do |dest, keys|
        next unless dest == queue.name
        keys.reject { |key| routing_keys.include?(key) }.each do |key|
          logger.debug "removing redundant binding #{queue.name} <--> #{key}"
          queue.unbind(exchange, routing_key: key)
        end
      end
    end
def unbind_redundant_bindings(queue, routing_keys)
      return unless http_api_use_enabled?

      bindings.each do |dest, keys|
        next unless dest == queue.name
        keys.reject { |key| routing_keys.include?(key) }.each do |key|
          logger.debug "removing redundant binding #{queue.name} <--> #{key}"
          queue.unbind(exchange, routing_key: key)
        end
      end
    end
Find the existing bindings, and unbind any redundant bindings