Problem: Let's say I have a method A. When method A fails I want to go to method B (do something in it) and retry again method A once.
I suppose I could do it with extra method which accepts Runnable, do it in try and do it again in catch. But I am wondering if there is more proper(?) way of doing it in spring. I read spring-retry, but I didn't find what I am looking for (or maybe I missed something?).