You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to create a circuit breaker with a name that can be set at runtime. Is there a Builder which I use to set circuitbreaker name instead of using annotation?
@CircuitBreaker(requestVolumeThreshold = 4, failureRatio = 0.5, delay = 1000)
@CircuitBreakerName("#{hostUrl}")
public Uni<Response> get(HttpHeaders headers, String requestUri, URI hostUrl) throws Exception {
// Some logic
}
The text was updated successfully, but these errors were encountered:
@CircuitBreakerName is a SmallRye Fault Tolerance specific feature which isn't present in the MicroProfile Fault Tolerance specification. Since an issue in SmallRye Fault Tolerance already exists, I'm closing this.
Description
As a:
...I need to be able to:
I wanted to create a circuit breaker with a name that can be set at runtime. Is there a Builder which I use to set circuitbreaker name instead of using annotation?
The text was updated successfully, but these errors were encountered: