Class RetryTopicConfigurationProvider
- java.lang.Object
-
- org.springframework.kafka.retrytopic.RetryTopicConfigurationProvider
-
public class RetryTopicConfigurationProvider extends java.lang.Object
Attempts to provide an instance ofRetryTopicConfigurer
by either creating one from aRetryableTopic
annotation, or from the bean container if no annotation is available. If beans are found in the container there's a check to determine whether or not the provided topics topics should be handled by any of such instances. If the annotation is provided, aDltHandler
annotated method is looked up.- Since:
- 2.7
- Author:
- Tomaz Fernandes
- See Also:
RetryTopicConfigurer
,RetryableTopic
,DltHandler
-
-
Constructor Summary
Constructors Constructor Description RetryTopicConfigurationProvider(org.springframework.beans.factory.BeanFactory beanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RetryTopicConfiguration
findRetryConfigurationFor(java.lang.String[] topics, java.lang.reflect.Method method, java.lang.Object bean)
-
-
-
Method Detail
-
findRetryConfigurationFor
public RetryTopicConfiguration findRetryConfigurationFor(java.lang.String[] topics, java.lang.reflect.Method method, java.lang.Object bean)
-
-