Hello,
I just want to know, when the axon framework publish the events on RabbitMQ. I don’t know if this happens inside the apply-method, that is called from the commandHandler or when the commandGateway.send(—) method is called.
Just another question by the way:
Which approach is better: Publish directly the events after they has been saved in eventstore or to have a scheduler (runs every 2 seconds) that selects all the pending events (let’s say 100 events in a run) and then published them to the broker.
Any help will be appreciated
cheers
William