-
Notifications
You must be signed in to change notification settings - Fork 534
Closed
Description
Currently, @CircuitBreaker always wraps failures into into an ExhaustedRetryException. This hides the true nature of the failure and makes it furthermore impossible to figure out whether the circuit breaker is actually open or not.
Having e.g. a @Recover-method just to unwrap and rethrow exceptions seems not a proper way to go... it also doesn't solve the circuit breaker status issue.
The only currently available alternative is to implement a custom circuit breaker RetryTemplate which feels odd.
Please fix.
JoshDoug