Whats difference between publish and emit ports?
Both publish and event ports are known to be event sources that produce events to consumers. Publish port are used by multiple subscribers, where as emit port can be connected to at most one proxy consumer client provided by container. The former uses private notification channel to publish events and the later uses shared notification channel. In general emitters are not exposed to client rather they are intended for configuration purposes during assembly phase. In contrast publish port are intended to provide direct client access for particular event type being generated by component.