Decoupling Springboot Microservices Using Workflow Automation
summary
Adds Camunda Open Source to three Spring Boot services (cashier, order sorter, barista), first for visualization then to hold state in an H2 datasource. Converts synchronous REST calls to BPMN 2.0 processes with asynchronous before transaction boundaries, a 30s timer event sub-process, a retry time cycle (4 retries, 1 min), error boundary for business errors, pause/resume jobs, and live reports. Demo shows parallel cake/coffee handling, predictable retries and recovery — the refactor runs successfully.
AI-written summary · about
