rename readNextMessage() to consumeNextMessage()