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
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MessageRecoverer
protected org.springframework.retry.RetryOperations
boolean
void
setMessageRecoverer
(MessageRecoverer messageRecoverer) void
setRetryOperations
(org.springframework.retry.RetryOperations retryTemplate) 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
-
Constructor Details
-
AbstractRetryOperationsInterceptorFactoryBean
public AbstractRetryOperationsInterceptorFactoryBean()
-
-
Method Details
-
setRetryOperations
public void setRetryOperations(org.springframework.retry.RetryOperations retryTemplate) -
setMessageRecoverer
-
getRetryOperations
protected org.springframework.retry.RetryOperations getRetryOperations() -
getMessageRecoverer
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<Advice>
-