Hello Everyone
I am very new to AXON and CQRS world. I used the quick guide to see how AXON works and I am able to successfully run it on my machine.
I see that after setting up the infrastructure configuration, AXON automatically store the events on the persistence storage and publish events on the Event Bus.
Since I want to be sure for (Persistence and Publish ) of events as atomic i.e. either both are Successful or both fail ,
I would like to first store the event in the Persistence storage and once it is stored , I want that event to publish it on the event bus.
For doing this , I need to have control on when and how these events are persisted and published by AXON.
Also, I am thinking of running the background thread which listens to the Persistence storage , once event get stored , thread will publish the event on the
event bus and then thread will mark the event in the event store as Published.
HELP !!!