Great article.
Zhou Atec

Hi Zou.

Source code for compensation is contained in the Saga Hotel Booking example:, see also I haven’t yet added an example for timeout, but it is easy to do and I added it to my todo list. But don’t expect anything within the next month — as I am currently on leave — sorry. When using Camunda as done in the code example the solution is to use the timer event from BPMN to trigger compensation (see



PS: Would be cool to get some details about your use case. What is the exact situation where you need “compensation for timeout“?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.