Class PayloadTypeRouterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.AbstractRouterParser
org.springframework.integration.config.xml.PayloadTypeRouterParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
public class PayloadTypeRouterParser extends AbstractRouterParser
Parser for the <payload-type-router/> element.
- Since:
- 1.0.3
-
Field Summary
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description PayloadTypeRouterParser()
-
Method Summary
Modifier and Type Method Description protected org.springframework.beans.factory.config.BeanDefinition
doParseRouter(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
protected java.lang.String
getMappingKeyAttributeName()
Returns the name of the attribute that provides a key for the channel mappings.Methods inherited from class org.springframework.integration.config.xml.AbstractRouterParser
parseHandler, parseRouter
Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, replyChannelInChainAllowed, resolveId
-
Constructor Details
-
PayloadTypeRouterParser
public PayloadTypeRouterParser()
-
-
Method Details
-
getMappingKeyAttributeName
protected java.lang.String getMappingKeyAttributeName()Description copied from class:AbstractRouterParser
Returns the name of the attribute that provides a key for the channel mappings. This can be overridden by subclasses.- Overrides:
getMappingKeyAttributeName
in classAbstractRouterParser
- Returns:
- The mapping key attribute name.
-
doParseRouter
protected org.springframework.beans.factory.config.BeanDefinition doParseRouter(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)- Specified by:
doParseRouter
in classAbstractRouterParser
-