Annotation Interface EnableResilientMethods
@Retryable as well as @ConcurrencyLimit.
 These annotations can also be individually enabled by
 defining a RetryAnnotationBeanPostProcessor or a
 ConcurrencyLimitBeanPostProcessor.
- Since:
- 7.0
- Author:
- Juergen Hoeller
- See Also:
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionintIndicate the order in which theRetryAnnotationBeanPostProcessorandConcurrencyLimitBeanPostProcessorshould be applied.booleanIndicate whether subclass-based (CGLIB) proxies are to be created as opposed to standard Java interface-based proxies.
- 
Element Details- 
proxyTargetClassboolean proxyTargetClassIndicate whether subclass-based (CGLIB) proxies are to be created as opposed to standard Java interface-based proxies.The default is false.Note that setting this attribute to truewill affect all Spring-managed beans requiring proxying, not just those marked with@Retryableor@ConcurrencyLimit. For example, other beans marked with Spring's@Transactionalannotation will be upgraded to subclass proxying at the same time. This approach has no negative impact in practice unless one is explicitly expecting one type of proxy vs. another — for example, in tests.- Default:
- false
 
- 
orderint orderIndicate the order in which theRetryAnnotationBeanPostProcessorandConcurrencyLimitBeanPostProcessorshould be applied.The default is Ordered.LOWEST_PRECEDENCEin order to run after all other post-processors, so that they can add advisors to existing proxies rather than double-proxy.- Default:
- 2147483647
 
 
-