Iterator based reading messages