changes related to the message publisher implementation