Class KafkaInboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
org.springframework.integration.kafka.config.xml.KafkaInboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
public class KafkaInboundChannelAdapterParser extends AbstractPollingInboundChannelAdapterParser
Parser for the inbound channel adapter.
- Since:
- 5.4
- Author:
- Gary Russell, Anshul Mehra
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description KafkaInboundChannelAdapterParser()
-
Method Summary
Modifier and Type Method Description protected BeanMetadataElement
parseSource(Element element, ParserContext parserContext)
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.protected boolean
shouldGenerateIdAsFallback()
Methods inherited from class org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
doParse
Methods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveId
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldParseNameAsAliases
-
Constructor Details
-
KafkaInboundChannelAdapterParser
public KafkaInboundChannelAdapterParser()
-
-
Method Details
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
parseSource
Description copied from class:AbstractPollingInboundChannelAdapterParser
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.- Specified by:
parseSource
in classAbstractPollingInboundChannelAdapterParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean metadata element.
-