build publisher/subscriber for all available middleware implementations