SEC Package Addition and Order Creation Process Conversion

Explore how we can add sec package to our application and how to convert the order creation process into an orchestrated saga.

Adding an SEC Package

The SEC is made of a few parts:

  • An orchestrator, which uses a saga for logic and connects it with a repository and publisher.

  • A saga definition, which holds all the metadata and the sequence of steps.

  • The steps that contain the logic for the actions, the reply handlers, and their compensating counterparts:

Get hands-on with 1200+ tech skills courses.