First of all - thanks for Axon. This is a great piece of code.
Now the problem:
I am trying to use Axon 2.1 inside Play 2.1 framework with JPA event sourced repositories.
At the application startup I am replaying all events to the in-memory view model.
Everything works smoothly until I change anything while Play is running.
Play then recompiles and reloads app (and spring context) and after that reload, my events are not replayed…
What is more, any new event applied from any aggregate also is not delivered (even to that aggregate’s @EventHandler annotated methods).
I can only guess that this is due to some Unit of Work problems with transactions in JPA behind the scenes after the reload.
Does anyone have any idea where to dig?