Class MqttOutboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
org.springframework.integration.mqtt.config.xml.MqttOutboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
public class MqttOutboundChannelAdapterParser extends AbstractOutboundChannelAdapterParser
The parser for the MqttAdapter Outbound Channel Adapter.
- Since:
- 4.0
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description MqttOutboundChannelAdapterParser()
-
Method Summary
Modifier and Type Method Description protected AbstractBeanDefinition
parseConsumer(Element element, ParserContext parserContext)
Override this method to return the BeanDefinition for the MessageConsumer.protected boolean
shouldGenerateId()
protected boolean
shouldGenerateIdAsFallback()
Methods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
doParse, doParseAndRegisterConsumer, isUsingReplyProducer
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, shouldParseNameAsAliases
-
Constructor Details
-
MqttOutboundChannelAdapterParser
public MqttOutboundChannelAdapterParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
parseConsumer
Description copied from class:AbstractOutboundChannelAdapterParser
Override this method to return the BeanDefinition for the MessageConsumer. It will be registered with a generated name.- Specified by:
parseConsumer
in classAbstractOutboundChannelAdapterParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean definition.
-