@RequestScoped public class FallbackWithBeanClient extends Object
| Constructor and Description |
|---|
FallbackWithBeanClient() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCounterForInvokingServiceA() |
int |
getCounterForInvokingServiceB() |
String |
serviceA() |
String |
serviceB() |
public int getCounterForInvokingServiceA()
public int getCounterForInvokingServiceB()
@Retry(maxRetries=1) @Fallback(value=StringFallbackHandlerWithBean.class) public String serviceA()
@Retry(maxRetries=2) @Fallback(value=StringFallbackHandlerWithBean.class) public String serviceB()
Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.