send publisher handler for beforePublish callback