Get message_properties before publish