Class AbstractRouterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.AbstractRouterParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
ErrorMessageExceptionTypeRouterParser, HeaderValueRouterParser, PayloadTypeRouterParser, RecipientListRouterParser, XPathRouterParser
Base parser for routers.
- Author:
- Mark Fisher, Gary Russell, Ngoc Nhan
-
Field Summary
Fields inherited from class AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTEFields inherited from class AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BeanDefinitiondoParseRouter(Element element, ParserContext parserContext) protected StringReturns the name of the attribute that provides a key for the channel mappings.protected final BeanDefinitionBuilderparseHandler(Element element, ParserContext parserContext) Parse the MessageHandler.protected final BeanDefinitionparseRouter(Element element, ParserContext parserContext) Methods inherited from class AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, replyChannelInChainAllowed, resolveIdMethods inherited from class AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
AbstractRouterParser
public AbstractRouterParser()
-
-
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.
-
parseRouter
-
getMappingKeyAttributeName
Returns the name of the attribute that provides a key for the channel mappings. This can be overridden by subclasses.- Returns:
- The mapping key attribute name.
-
doParseRouter
-