Interface RetryHandler
-
- All Known Implementing Classes:
DefaultRetryHandler
public interface RetryHandlerContract to retry failed operations during topology recovery. Not all operations have to be retried, it's a decision of the underlying implementation.- Since:
- 4.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetryResultretryBindingRecovery(RetryContext context)Retry a failed binding recovery operation.RetryResultretryConsumerRecovery(RetryContext context)Retry a failed consumer recovery operation.RetryResultretryExchangeRecovery(RetryContext context)Retry a failed exchange recovery operation.RetryResultretryQueueRecovery(RetryContext context)Retry a failed queue recovery operation.
-
-
-
Method Detail
-
retryQueueRecovery
RetryResult retryQueueRecovery(RetryContext context) throws Exception
Retry a failed queue recovery operation.- Parameters:
context- the context of the retry- Returns:
- the result of the retry attempt
- Throws:
Exception- if the retry fails
-
retryExchangeRecovery
RetryResult retryExchangeRecovery(RetryContext context) throws Exception
Retry a failed exchange recovery operation.- Parameters:
context- the context of the retry- Returns:
- the result of the retry attempt
- Throws:
Exception- if the retry fails
-
retryBindingRecovery
RetryResult retryBindingRecovery(RetryContext context) throws Exception
Retry a failed binding recovery operation.- Parameters:
context- the context of the retry- Returns:
- the result of the retry attempt
- Throws:
Exception- if the retry fails
-
retryConsumerRecovery
RetryResult retryConsumerRecovery(RetryContext context) throws Exception
Retry a failed consumer recovery operation.- Parameters:
context- the context of the retry- Returns:
- the result of the retry attempt
- Throws:
Exception- if the retry fails
-
-