demo simple receive post message and print to console