Error!
Success!

AspectMap Part 3 – A Retry Aspect (Or Inspecting the Source Attribute)

0
kicks

AspectMap Part 3 – A Retry Aspect (Or Inspecting the Source Attribute)  (Unpublished)

This is part 3 of my series of posts on using AspectMap. In this post we’ll create a retry aspect which will allow you to retry the functionality of a method a specified number of times for a certain exception. For instance you could set a method up to try some SQL operation up to 4 times if it receives timeout exceptions. This will introduce you to the technique for inspecting the attribute that kicked off your handler.


Kicked By:
Drop Kicked By: