If you’re already using messaging, or you have a good understanding of the fundamentals, its time to start looking at some of the more adventurous messaging patterns. These are the patterns that really start to enable your systems to do more.
8. Email
happy@face.com
Check email
Follow link
24hr limit
ilikedairyqueen.com/changepassword?id=<guid>
New password
___________
New Saga
ResetId = new GUID
AccountId = happy@face.com
RequestTimeout(24hrs)
Timeout Manager
Runs on a timer
Checks for expired timeouts
9. Saga Traits
- Model time
- Handle long “running”
business processes
- Coordinate workflow
- 2 or more steps required
(including the initial step)
25. class ProcessImage {
string Name { get; set; }
DateTime UploadDate { get; set; }
string ImagePath { get; set; }
}
Web Page Controller
Store to disk