since we are currently struggling with it and i prolly havent found the correct keywords for my search yet…
I am wondering what would be the correct way of having multiple aggregates react to an event that gets applied by another aggregate (and handled in the aggregates EventSourcingHandler), where the IDs of the potentially interessted aggregates are unknown.
Wether or not the handling of the event in the other aggregates doesnt matter.
Is it possible to broadcast commands on the commandbus? (likely not, since we need a target identifier, right?)
Would one just broadcast/publish the exact same event on a (Simple)EventBus using a Saga and implement @EventHandler methods on the aggregates which in turn could apply the events to the aggregates?
Or are there better ways?
Thanks in advance!