Process multiple messages.