Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats difference between publish and emit ports?

emit ports publish
0
Posted

Whats difference between publish and emit ports?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123