K - the key type.V - the value type.public class AbstractRetryingMessageListenerAdapter<K,V>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
AbstractRetryingMessageListenerAdapter(org.springframework.retry.support.RetryTemplate retryTemplate)
Construct an instance with the supplied retry template.
|
AbstractRetryingMessageListenerAdapter(org.springframework.retry.support.RetryTemplate retryTemplate,
org.springframework.retry.RecoveryCallback<java.lang.Void> recoveryCallback)
Construct an instance with the supplied template and callback.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.retry.RecoveryCallback<java.lang.Void> |
getRecoveryCallback() |
org.springframework.retry.support.RetryTemplate |
getRetryTemplate() |
public AbstractRetryingMessageListenerAdapter(org.springframework.retry.support.RetryTemplate retryTemplate)
retryTemplate - the template.public AbstractRetryingMessageListenerAdapter(org.springframework.retry.support.RetryTemplate retryTemplate,
org.springframework.retry.RecoveryCallback<java.lang.Void> recoveryCallback)
retryTemplate - the template.recoveryCallback - the recovery callback; if null, the exception will be
thrown to the container after retries are exhausted.