Class DefaultEventStoreTransaction

java.lang.Object
org.axonframework.eventsourcing.eventstore.DefaultEventStoreTransaction
All Implemented Interfaces:
EventStoreTransaction

public class DefaultEventStoreTransaction extends Object implements EventStoreTransaction
The default EventStoreTransaction.

While sourcing it will map the SourcingCondition into an AppendCondition for appending, taking into account several sourcing invocation might have occurred in the same ProcessingContext. Every event that is appended is collected, and the collection is handed to the EventStorageEngine as a single batch during the

invalid reference
Phases#APPEND_EVENTS
phase of the ProcessingContext. That phase follows prepare-commit, so a component invoked during prepare-commit can still append. Appending after it has run is rejected.
Since:
5.0.0
Author:
Steven van Beelen, John Hendrikx