change method to get queue url