I have a
scenario where a saga starts a batch process.
The saga sends commands to other endpoints and waits for published events from endpoints indicating completion.
The number of sent commands will depend on the size of the batch (as the number of handled events).
The saga will store information about expected events in the state and the saga should be completed based on logic using the state machine and handled events.
I expected to find a finalize method within the BehaviorContext but I couldn’t find it. I only find that the Finlize method can be used when declaring the saga in the constructor.
Should I use TransitionToState in combination with RaiseEvent, use SetCompleted((i) => true); or is there some other recommended way?
Regards,
Niklas
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/15beabd2-869d-4d01-ab16-0d0ac6537dd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.