implement getMessage by Session.