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 AbstractBeanDefinitionparseConsumer(Element element, ParserContext parserContext)Override this method to return the BeanDefinition for the MessageConsumer.protected booleanshouldGenerateId()protected booleanshouldGenerateIdAsFallback()Methods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
doParse, doParseAndRegisterConsumer, isUsingReplyProducerMethods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveIdMethods 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:
shouldGenerateIdin classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallbackin classAbstractBeanDefinitionParser
-
parseConsumer
Description copied from class:AbstractOutboundChannelAdapterParserOverride this method to return the BeanDefinition for the MessageConsumer. It will be registered with a generated name.- Specified by:
parseConsumerin classAbstractOutboundChannelAdapterParser- Parameters:
element- The element.parserContext- The parser context.- Returns:
- The bean definition.
-