fixed connector generator for the case when no publishes or no subscribes registered