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, Wang Zhiyang
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionEndpointCustomizerFactory(DestinationTopic.Properties destinationProperties, EndpointHandlerMethod beanMethod, BeanFactory beanFactory, RetryTopicNamesProviderFactory retryTopicNamesProviderFactory)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected EndpointCustomizer<MethodKafkaListenerEndpoint<?, ?>> addSuffixesAndMethod(DestinationTopic.Properties properties) Create MethodKafkaListenerEndpoint's EndpointCustomizer and support MultiMethodKafkaListenerEndpoint.protected EndpointCustomizeraddSuffixesAndMethod(DestinationTopic.Properties properties, Object bean, Method method) Deprecated, for removal: This API element is subject to removal in a future version.final EndpointCustomizer<MethodKafkaListenerEndpoint<?, ?>> 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
@Deprecated(since="3.2", forRemoval=true) protected EndpointCustomizer addSuffixesAndMethod(DestinationTopic.Properties properties, Object bean, Method method) Deprecated, for removal: This API element is subject to removal in a future version.Create MethodKafkaListenerEndpoint's EndpointCustomizer, but not support MultiMethodKafkaListenerEndpoint. Replace byaddSuffixesAndMethod(DestinationTopic.Properties)- Parameters:
 properties- the destination-topic's properties.bean- the bean.method- the method.- Returns:
 - the endpoint customizer.
 
 - 
addSuffixesAndMethod
protected EndpointCustomizer<MethodKafkaListenerEndpoint<?,?>> addSuffixesAndMethod(DestinationTopic.Properties properties) Create MethodKafkaListenerEndpoint's EndpointCustomizer and support MultiMethodKafkaListenerEndpoint.- Parameters:
 properties- the destination-topic's properties.- Returns:
 - the endpoint customizer.
 - Since:
 - 3.2
 
 - 
customizeAndRegisterTopics
protected Collection<EndpointCustomizer.TopicNamesHolder> customizeAndRegisterTopics(RetryTopicNamesProviderFactory.RetryTopicNamesProvider namesProvider, MethodKafkaListenerEndpoint<?, ?> endpoint)  
 -