After successfully setting filters to allow messages, the application may now read messages. Below is a snippet of code that reads a message: