Class EndpointCustomizerFactory
- java.lang.Object
-
- org.springframework.kafka.retrytopic.EndpointCustomizerFactory
-
public class EndpointCustomizerFactory extends java.lang.Object
Creates theEndpointCustomizer
that will be used by theRetryTopicConfigurer
to customize the main, retry and DLT endpoints.- Since:
- 2.7.2
- Author:
- Tomaz Fernandes, Gary Russell
- See Also:
RetryTopicConfigurer
,DestinationTopic.Properties
,RetryTopicNamesProviderFactory.RetryTopicNamesProvider
-
-
Constructor Summary
Constructors Constructor Description EndpointCustomizerFactory(DestinationTopic.Properties destinationProperties, EndpointHandlerMethod beanMethod, org.springframework.beans.factory.BeanFactory beanFactory, RetryTopicNamesProviderFactory retryTopicNamesProviderFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EndpointCustomizer
addSuffixesAndMethod(DestinationTopic.Properties properties, java.lang.Object bean, java.lang.reflect.Method method)
EndpointCustomizer
createEndpointCustomizer()
protected java.util.Collection<EndpointCustomizer.TopicNamesHolder>
customizeAndRegisterTopics(RetryTopicNamesProviderFactory.RetryTopicNamesProvider namesProvider, MethodKafkaListenerEndpoint<?,?> endpoint)
-
-
-
Constructor Detail
-
EndpointCustomizerFactory
public EndpointCustomizerFactory(DestinationTopic.Properties destinationProperties, EndpointHandlerMethod beanMethod, org.springframework.beans.factory.BeanFactory beanFactory, RetryTopicNamesProviderFactory retryTopicNamesProviderFactory)
-
-
Method Detail
-
createEndpointCustomizer
public final EndpointCustomizer createEndpointCustomizer()
-
addSuffixesAndMethod
protected EndpointCustomizer addSuffixesAndMethod(DestinationTopic.Properties properties, java.lang.Object bean, java.lang.reflect.Method method)
-
customizeAndRegisterTopics
protected java.util.Collection<EndpointCustomizer.TopicNamesHolder> customizeAndRegisterTopics(RetryTopicNamesProviderFactory.RetryTopicNamesProvider namesProvider, MethodKafkaListenerEndpoint<?,?> endpoint)
-
-