Annotation for retrying all methods in a class instead of using @Retryable for each method

368
September 12, 2017, at 6:22 PM

We use @Retryable annotation to retry specific methods in a class.

Is there any annotation to commonly retry all methods in a class.Instead of making it in method level, can we move to Class level.

Answer 1

Add this in configuration and then follow it http://www.baeldung.com/spring-retry

@Configuration
@EnableRetry
public class AppConfig { ... }
Rent Charter Buses Company
READ ALSO
Why use of interger.parseInt when I'm using a number as input? [on hold]

Why use of interger.parseInt when I'm using a number as input? [on hold]

I am taking a input as a number but in code why there is IntegerparseInt and to string ?

280
Java XML Parser for huge files

Java XML Parser for huge files

I need a xml parser to parse a file that is approximately 18 gb

408
Cryptomator eclipse

Cryptomator eclipse

I want to run and debug cryptomator in eclipse, all the dependencies is added, but some classes report error with line which contain: DaggerTestKeychainComponent

383
OpenCV predict takes too much time and freezes the screen

OpenCV predict takes too much time and freezes the screen

I have tried following code to predict using CameraBridgeViewBase

349