Somewhere we're using req.api.is_supported('queue_set_metadata') to check the api version. It works but not elegant. This patch will use api version checking directly. Change-Id: Ifb4f8777bc6c6e058e548650d28b89bbc10f6ef1