Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
{ this.comment = comment; } } This is the Order object that will be stored for the OrderService in Mongo DB. Payment package com.saga.demo.core.models; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; @Document(collection = "payment")