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
Constructors Constructor Description AbstractRetryOperationsInterceptorFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessageRecoverer
getMessageRecoverer()
protected org.springframework.retry.RetryOperations
getRetryOperations()
boolean
isSingleton()
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
-
-
-
-
Method Detail
-
setRetryOperations
public void setRetryOperations(org.springframework.retry.RetryOperations retryTemplate)
-
setMessageRecoverer
public void setMessageRecoverer(MessageRecoverer messageRecoverer)
-
getRetryOperations
protected org.springframework.retry.RetryOperations getRetryOperations()
-
getMessageRecoverer
protected MessageRecoverer getMessageRecoverer()
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceFactoryBean<Advice>
-
-