Check if message gets published