added doc using getQueueAttributes to subscribe