Class AbstractRetryOperationsInterceptorFactoryBean
java.lang.Object
org.springframework.amqp.rabbit.config.AbstractRetryOperationsInterceptorFactoryBean
- All Implemented Interfaces:
FactoryBean<Advice>
- Direct Known Subclasses:
StatefulRetryOperationsInterceptorFactoryBean
,StatelessRetryOperationsInterceptorFactoryBean
public abstract class AbstractRetryOperationsInterceptorFactoryBean
extends Object
implements FactoryBean<Advice>
Convenient base class for interceptor factories.
- Author:
- Dave Syer, Stephane Nicoll
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable MessageRecoverer
protected @Nullable org.springframework.core.retry.RetryPolicy
void
setMessageRecoverer
(MessageRecoverer messageRecoverer) void
setRetryPolicy
(org.springframework.core.retry.RetryPolicy retryPolicy) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
getObject, getObjectType, isSingleton
-
Constructor Details
-
AbstractRetryOperationsInterceptorFactoryBean
public AbstractRetryOperationsInterceptorFactoryBean()
-
-
Method Details
-
setRetryPolicy
public void setRetryPolicy(org.springframework.core.retry.RetryPolicy retryPolicy) -
setMessageRecoverer
-
getRetryPolicy
protected @Nullable org.springframework.core.retry.RetryPolicy getRetryPolicy() -
getMessageRecoverer
-