Detail how to publish messages