Annotation Interface CircuitBreaker
Annotation allow applying
CircuitBreaker to a specific method-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionMethod must have the same signature as the original method
-
Element Details
-
value
String value- Returns:
- the name of the circuitBreaker breaker and part of the config path
-
-
-
fallbackMethod
String fallbackMethodMethod must have the same signature as the original method- Returns:
- fallbackMethod method name to use when
CallNotPermittedExceptionoccur
- Default:
- ""
-