Add #publish_messages for multiple messages