Class RetryableTopicAnnotationProcessor
java.lang.Object
org.springframework.kafka.annotation.RetryableTopicAnnotationProcessor
Processes the provided
RetryableTopic
annotation
returning an RetryTopicConfiguration
.- Since:
- 2.7
- Author:
- Tomaz Fernandes, Gary Russell
-
Constructor Summary
ConstructorDescriptionRetryableTopicAnnotationProcessor
(BeanFactory beanFactory) Construct an instance using the provided parameters and default resolver, expression context.RetryableTopicAnnotationProcessor
(BeanFactory beanFactory, BeanExpressionResolver resolver, BeanExpressionContext expressionContext) Construct an instance using the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionprocessAnnotation
(String[] topics, Method method, RetryableTopic annotation, Object bean)
-
Constructor Details
-
RetryableTopicAnnotationProcessor
Construct an instance using the provided parameters and default resolver, expression context.- Parameters:
beanFactory
- the bean factory.
-
RetryableTopicAnnotationProcessor
public RetryableTopicAnnotationProcessor(BeanFactory beanFactory, BeanExpressionResolver resolver, BeanExpressionContext expressionContext) Construct an instance using the provided parameters.- Parameters:
beanFactory
- the bean factory.resolver
- the bean expression resolver.expressionContext
- the bean expression context.
-
-
Method Details
-
processAnnotation
public RetryTopicConfiguration processAnnotation(String[] topics, Method method, RetryableTopic annotation, Object bean)
-