Removed hasQueueName method