Class AmqpChannelParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelParser
org.springframework.integration.amqp.config.AmqpChannelParser
- All Implemented Interfaces:
BeanDefinitionParser
public class AmqpChannelParser extends AbstractChannelParser
Parser for the 'channel' and 'publish-subscribe-channel' elements of the
Spring Integration AMQP namespace.
- Since:
- 2.1
- Author:
- Mark Fisher, Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description AmqpChannelParser()
-
Method Summary
Modifier and Type Method Description protected 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
-
AmqpChannelParser
public AmqpChannelParser()
-
-
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.
-