A proof-of-concept implementation of an Axon Saga backed by a workflow using Spring State Machine. The idea is to bridge Sagas to a workflows via a generic adapter. The state machine should be looked up and persisted into JPA database and have the same lifecycle as the corresponding Saga.
This code is based heavily on the code for the axon-quick-start exercise (and the solution).
And the code from Spring Machine 51. Data Persist example.
PlantText was used to create UML diagrams.