My EventsourcedProcessor needs to redo some operation if it was only half 
completed.

The events in my system are as follows, where the first event marks the 
beginning of a transaction, and the latter two are mutually exclusive 
outcomes:

UserRegistrationSubmitted
UserRegistered
UserRegistrationDenied

Recovery needs to handle cases where the outcome is undetermined.

This is easy to do in theory as all I need is an 'onRecovered' method to 
override in the EventsourcedProcessor. I would then re-run the registration 
process, post-recovery, if the last event is 'UserSubmittedRegistration'.

How can I achieve this? Or is this bad behaviour for a recovery? If so: 
what's the recommended practice for implementing a redo / handling 
incomplete transactions?

Thanks,
Lawrence

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to