Description
SnapshotStore.load() and SnapshotStore.store() don't receive a ProcessingContext, unlike EventStore.transaction(pc) and TokenStore.storeToken(..., pc) which do. The SnapshottingSourcingHandler has the context in scope but doesn't pass it through.
This makes it impossible to write SnapshotStore implementations that need the ProcessingContext, for example a JpaSnapshotStore (that I've seen on the roadmap) that needs transaction management (same as JpaTokenStore).
Description
SnapshotStore.load()andSnapshotStore.store()don't receive aProcessingContext, unlikeEventStore.transaction(pc)andTokenStore.storeToken(..., pc)which do. TheSnapshottingSourcingHandlerhas the context in scope but doesn't pass it through.This makes it impossible to write
SnapshotStoreimplementations that need theProcessingContext, for example aJpaSnapshotStore(that I've seen on the roadmap) that needs transaction management (same as JpaTokenStore).