Class KafkaChannelParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelParser
org.springframework.integration.kafka.config.xml.KafkaChannelParser
- All Implemented Interfaces:
BeanDefinitionParser
Parser for a channel backed by an Apache Kafka topic.
- Since:
- 5.4
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BeanDefinitionBuilder
buildBeanDefinition
(Element element, ParserContext parserContext) Subclasses must implement this method to create the bean definition.Methods inherited from class org.springframework.integration.config.xml.AbstractChannelParser
parseInternal, registerBeanDefinition
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
KafkaChannelParser
public KafkaChannelParser()
-
-
Method Details
-
buildBeanDefinition
Description copied from class:AbstractChannelParser
Subclasses must implement this method to create the bean definition. The class must be defined, and any implementation-specific constructor arguments or properties should be configured. This base class will configure the interceptors including the 'datatype' interceptor if the 'datatype' attribute is defined on the channel element.- Specified by:
buildBeanDefinition
in classAbstractChannelParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean definition builder.
-