Skip to content

Add Order Fulfillment Workflow and Workflow Saga demo apps#444

Open
schananas wants to merge 3 commits intomainfrom
feat/workflow-demo-apps
Open

Add Order Fulfillment Workflow and Workflow Saga demo apps#444
schananas wants to merge 3 commits intomainfrom
feat/workflow-demo-apps

Conversation

@schananas
Copy link
Copy Markdown
Contributor

Summary

Two new demo modules showing how to model multi-step business processes with the Axon Workflow Engine:

  • order-fulfillment-workflow — order → reserve stock → payment → ship → notify. Includes a live tracking UI: Leaflet map with animated truck movement, status pills, stats panel and activity log, all driven by SSE pushed from the projection's @EventHandlers. One-click buttons trigger single orders, bursts, and failure scenarios (out-of-stock, payment-timeout).
  • workflow-saga — saga-style order process showing wait/compensate patterns with the workflow DSL.

Test plan

  • mvn verify in order-fulfillment-workflow/ (Testcontainers IT spins up Axon Server)
  • mvn verify in workflow-saga/
  • Manual: mvn spring-boot:run in order-fulfillment-workflow/, open http://localhost:9090/, click "Stress test ×25" and "Mixed burst" — markers should animate end-to-end on the map

@schananas schananas requested a review from smcvb as a code owner April 30, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant