sample end-to-end message loading and persistence