The core of the problem here is that we cannot implement a generic @Retry annotation which could wrap other ones.
The case against annotations
Adam Warski
1.7K13

You’re not meant to implement. You’re meant to delineate — annotate. Then other services/extensions would augment the runtime based on this annotation coupled with additional external configuration and code. For the most part, annotation should serve primarily as markers/labels for other services to map onto some behavior more specific to the environment and needs of operations.

Like what you read? Give Autoletics a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.