Class EndpointCustomizerFactory
java.lang.Object
org.springframework.kafka.retrytopic.EndpointCustomizerFactory
Creates the
EndpointCustomizer
that will be used by the RetryTopicConfigurer
to customize the main, retry and DLT endpoints.- Since:
- 2.7.2
- Author:
- Tomaz Fernandes, Gary Russell
- See Also:
-
Constructor Summary
ConstructorDescriptionEndpointCustomizerFactory
(DestinationTopic.Properties destinationProperties, EndpointHandlerMethod beanMethod, BeanFactory beanFactory, RetryTopicNamesProviderFactory retryTopicNamesProviderFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected EndpointCustomizer
addSuffixesAndMethod
(DestinationTopic.Properties properties, Object bean, Method method) final EndpointCustomizer
protected Collection<EndpointCustomizer.TopicNamesHolder>
customizeAndRegisterTopics
(RetryTopicNamesProviderFactory.RetryTopicNamesProvider namesProvider, MethodKafkaListenerEndpoint<?, ?> endpoint)
-
Constructor Details
-
EndpointCustomizerFactory
public EndpointCustomizerFactory(DestinationTopic.Properties destinationProperties, EndpointHandlerMethod beanMethod, BeanFactory beanFactory, RetryTopicNamesProviderFactory retryTopicNamesProviderFactory)
-
-
Method Details
-
createEndpointCustomizer
-
addSuffixesAndMethod
protected EndpointCustomizer addSuffixesAndMethod(DestinationTopic.Properties properties, Object bean, Method method) -
customizeAndRegisterTopics
protected Collection<EndpointCustomizer.TopicNamesHolder> customizeAndRegisterTopics(RetryTopicNamesProviderFactory.RetryTopicNamesProvider namesProvider, MethodKafkaListenerEndpoint<?, ?> endpoint)
-