Interface RecoveryCallback<T extends @Nullable Object>
- Type Parameters:
T
- the type that is returned from the recovery
- All Known Implementing Classes:
ErrorMessageSendingRecoverer
public interface RecoveryCallback<T extends @Nullable Object>
Error handler-like strategy to provide fallback based on the
AttributeAccessor
.- Since:
- 7.0
- Author:
- Artem Bilan
-
Method Summary
-
Method Details
-
recover
- Parameters:
context
- the context for failurecause
- the cause of the failure- Returns:
- an Object that can be used to replace the callback result that failed
-