I am testing the axon framework and I am facing with a couple of challenges:
1st when sending commands to a command gateway’s aggregate I’m seeing tha the Aggregate is created over and over and the previous commands/events are played again, it is like (on the example I will use c for command and e for events and a for aggregate)
- c1 generates e1 that is for a1
- c2 generates a e2 that is for a1. (if I debug the aggregate on this step I’m seeing c1 -> e1 -> c2 -> e2
2nd when I do restart my server the events on the @eventHandler annotated methods are replayed every time, is it normal? I have annotated them with the @AllowReplay(false), and it is repeated.
Thanks in advance!