Provide infrastructure for replaying events #25
Labels
Priority 1: Must
Highest priority. A release cannot be made if this issue isn’t resolved.
Status: Resolved
Use to signal that work on this issue is done.
Type: Enhancement
Use to signal an issue enhances an already existing feature of the project.
Milestone
Event Listeners should be able to reconstruct themselves using events stored in the Event Store.
To accomplish this, event listeners can implement an interface, which is given a DomainEventStream from which events can be pulled. Alternatively, annotation support can be provided using @BeforeReplay and @AfterReplay (or similar) annotations to express the functionality needed before replaying starts and when it is completed. These methods allow the listener to clear tables and commit a transaction.
The text was updated successfully, but these errors were encountered: