Sagas as State Machine

202 views
Skip to first unread message

gladiator

unread,
Jul 24, 2018, 6:00:38 AM7/24/18
to Axon Framework Users
We are in the process of implementing a complex business process using Axon framework for our client.

To be very honest we are learning right from the basics.

While developing we came across a concept of Sagas as State Machines.

With some more research we found out a new framework in spring related to state machine, as below.

https://docs.spring.io/spring-statemachine/docs/current/reference/htmlsingle/#developing-your-first-spring-statemachine-application

Could you please help here to understand a bigger picture of how the State Machines fits into Axon Framework.

Also it would be of great help if you have any sample application which connects the above concepts at a high level.

Allard Buijze

unread,
Aug 3, 2018, 9:47:39 AM8/3/18
to axonfr...@googlegroups.com
Hi,

that question is rather broad. I am not familiar with Spring State Machine, but have used different workflow engines. Generally, Sagas are nice to handle events, maintain state and trigger these workflows. The workflows would then make decisions and perform actions that cause events that the saga can react on, again.

I know the guys at Camunda have been experimenting with Axon Camunda integration. Maybe that provides some inspiration:

Cheers,

Allard

--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Allard Buijze
CTO

E: allard...@axoniq.io
T: +31 6 34 73 99 89
Reply all
Reply to author
Forward
0 new messages