@RequestScoped public class FallbackMethodClient extends Object
Constructor and Description |
---|
FallbackMethodClient() |
Modifier and Type | Method and Description |
---|---|
String |
fallbackForServiceB()
Fallback method with incompatible signature, different return type
|
Integer |
serviceB()
Retry 5 times and then fallback
|
@Retry(maxRetries=4) @Fallback(fallbackMethod="fallbackForServiceB") public Integer serviceB()
public String fallbackForServiceB()
Copyright © 2016 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.