@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Documented
public @interface Bulkhead
name and fallbackMethod can be resolved using Spring Expression Language (SpEL).| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
name
Name of the bulkhead.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
fallbackMethod
fallbackMethod method name.
|
Bulkhead.Type |
type |
public abstract java.lang.String name
#root.args[0], #p0 or #a0. And method name can be accessed via
#root.methodNamepublic abstract java.lang.String fallbackMethod
public abstract Bulkhead.Type type