 
 # get_queues = (msg) ->
 #   msg
-#     .http("#{scheme}://#{host}/api/queues")
+#     .http("#{url}/api/queues")
 #     .query(sort_reverse: 'messages')
 #     .headers(Authorization: auth, Accept: 'application/json')
 #     .get() (err, res, body) ->

  robot.respond /rabbit slow queues/i, (msg) ->
    results = []
    msg
      .http("#{scheme}://#{host}/api/queues")
      .query(sort_reverse: 'messages')
      .headers(Authorization: auth, Accept: 'application/json')
      .get() (err, res, body) ->

  robot.respond /rabbit queues/i, (msg) ->
    results = []
    msg
      .http("#{url}/api/queues")
      .query(sort_reverse: 'messages')
      .headers(Authorization: auth, Accept: 'application/json')
      .get() (err, res, body) ->
