Posts

Showing posts from December 13, 2018

Is it possible to buy return tickets to Jamaica and the return ticket be a counterfeit?

Image
up vote 3 down vote favorite My daughter in law says shes now stranded there . Is this possible? tickets share | improve this question asked 2 hours ago Judy 16 2 New contributor Judy is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. ...

How to trigger the execution of the compensation flow for the activities used within an Automatonymous state...

Image
up vote 0 down vote favorite My activities throw exceptions from time to time during the execution, so I've implemented the Faulted methods of Activity<TInstance> to handle that, discarding the changes made in the Execute method. I thought that there's some wiring underneath in Automatonymous that makes it so that the Faulted method executes when the Execute method throws an exception and then calls the Faulted methods for the activities that were executed already. It turns out that there's no such thing, as my Faulted methods are never executed. Should I call those myself in a try/catch block instead? I could produce the BehaviorExceptionContextProxy based on BehaviorContext and the exception thrown. The only next Behavior I could pass would be the one inserted into that Activity 's Execute method, bu...