Samples that show how MessageHandler can be used