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