views:

9

answers:

0

Hi , what is the most elegant way to handle errors in an Asynchronous arch. assuming I have the following workflow : I have a web application that creates new files (bussines configuration files) from that point the following steps are copying the new files to a network shared file system . dispatching refresh commands to several application in different locations . waiting for all the applications to confirm refresh . each one of those steps can fail completely or partially and should be rolled back entirely . in case of error I would of course like to retry but is the best way to go about it : republish the queue and making sure every unit of work should be able to clean itself before that , retry by some timeout ....

Any good articles on that issue ?