Temperature fan-out
A room sensor publishes one reading to the temperature node. The pubsub service notifies dashboard, HVAC, and analytics subscribers.
The node is open and persistent. Dashboard, HVAC, and Analytics are subscribed, so each receives an event message for the new temperature item.
Publishers do not send directly to every consumer. The PubSub service owns node policy and notification fan-out.
Stanza Inspector
Read the XML associated with the current stage and scenario. The examples are shortened for learning, but keep the important XEP-0060 structure.
A publisher sends an IQ set to the pubsub service. The publish element names the target node and wraps the item payload.