@MinMuleVersion(value="4.4") public enum BackPressureAction extends Enum<BackPressureAction>
BackPressureMode, there's no equivalent to BackPressureMode.WAIT, that's because the
BackPressureMode.WAIT mode is simply about blocking executions of SourceCallback.handle(Result)| Enum Constant and Description |
|---|
DROP
Indicates that the message will simply be dropped.
|
FAIL
Indicates that en error has been thrown as the result of the back pressure
|
| Modifier and Type | Method and Description |
|---|---|
static BackPressureAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackPressureAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackPressureAction FAIL
public static final BackPressureAction DROP
public static BackPressureAction[] values()
for (BackPressureAction c : BackPressureAction.values()) System.out.println(c);
public static BackPressureAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.