-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Stefan Domnanovits edited this page Mar 10, 2019
·
26 revisions
The saga-lib is a Java library to organize domain events. The goal is to organize state and activities triggered by any sort of messages.
This lib makes it easy for a developer to focus on the actual state changes and message handling. To do this the persistence of state as well as the possible escalation using timeouts is separated from the business code.
Performance to expect from the saga-lib together with guice:
The simplest way to use the library is to add a dependency to the maven artifact.
<dependency>
<groupId>com.codebullets.saga-lib</groupId>
<artifactId>saga-lib</artifactId>
<version>3.3.0</version>
</dependency>Once the lib is referenced it is time to initialize it and start writing sagas.