masstransit-saga-implementation
masstransit-saga-implementation copied to clipboard
Saga State Machine Implementation with Masstransit
Saga State Machine Implementation with Masstransit
-
Run
docker-compose up -dto start RabbitMQ instance. -
Start
Sample.Service.Sagaconsole application to manage transaction state. -
Start
Sample.App.SubmitFormconsole application to sendIReportRequestCommand. -
Start
Sample.Service.ReportCreatedandSample.Service.ReportFailedconsole applications to consume request results. -
Consume the
IReportRequestCommandcommand viaSample.Service.ReceiveReportRequestand handle the report request.-
If request is valid, create
IReportCreatedEventand produce it! -
If request is invalid, create
IReportFailedEventand produce it!
-