getQueueByName method added