Class EnricherParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.EnricherParser
- All Implemented Interfaces:
BeanDefinitionParser
Parser for the 'enricher' element.
- Since:
- 2.1
- Author:
- Mark Fisher, Artem Bilan, Liujiong, Kris Jacyna, Gary Russell, Ngoc Nhan
-
Field Summary
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTEFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BeanDefinitionBuilderparseHandler(Element element, ParserContext parserContext) Parse the MessageHandler.protected booleanreplyChannelInChainAllowed(Element element) Override to allow 'reply-channel' within a chain, for components where it makes sense (e.g.Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, resolveIdMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
EnricherParser
public EnricherParser()
-
-
Method Details
-
parseHandler
Description copied from class:AbstractConsumerEndpointParserParse the MessageHandler.- Specified by:
parseHandlerin classAbstractConsumerEndpointParser- Parameters:
element- The element.parserContext- The parser context.- Returns:
- The bean definition builder.
-
replyChannelInChainAllowed
Description copied from class:AbstractConsumerEndpointParserOverride to allow 'reply-channel' within a chain, for components where it makes sense (e.g. enricher). Default is false for outbound gateways, else true.- Overrides:
replyChannelInChainAllowedin classAbstractConsumerEndpointParser- Parameters:
element- the element.- Returns:
- true to allow a reply channel attribute within a chain.
-