org.springframework.integration.config.xml
Class StandardHeaderEnricherParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractConsumerEndpointParser
          extended by org.springframework.integration.config.xml.AbstractTransformerParser
              extended by org.springframework.integration.config.xml.SimpleHeaderEnricherParser
                  extended by org.springframework.integration.config.xml.StandardHeaderEnricherParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class StandardHeaderEnricherParser
extends SimpleHeaderEnricherParser

Parser for the <header-enricher> element within the core integration namespace. This is used for setting the standard, out-of-the-box configurable MessageHeaders, such as 'reply-channel', 'priority', and 'correlation-id'. It will also accept custom header values (or bean references) if provided as 'header' sub-elements.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
METHOD_ATTRIBUTE, REF_ATTRIBUTE
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
StandardHeaderEnricherParser()
           
 
Method Summary
protected  void postProcessHeaders(org.w3c.dom.Element element, org.springframework.beans.factory.support.ManagedMap headers, org.springframework.beans.factory.xml.ParserContext parserContext)
          Subclasses may implement this method to provide additional headers.
 
Methods inherited from class org.springframework.integration.config.xml.SimpleHeaderEnricherParser
getTransformerClassName, isEligibleHeaderName, parseTransformer, shouldOverwrite
 
Methods inherited from class org.springframework.integration.config.xml.AbstractTransformerParser
parseHandler
 
Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInnerHandlerDefinition, parseInternal, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardHeaderEnricherParser

public StandardHeaderEnricherParser()
Method Detail

postProcessHeaders

protected void postProcessHeaders(org.w3c.dom.Element element,
                                  org.springframework.beans.factory.support.ManagedMap headers,
                                  org.springframework.beans.factory.xml.ParserContext parserContext)
Description copied from class: SimpleHeaderEnricherParser
Subclasses may implement this method to provide additional headers.

Overrides:
postProcessHeaders in class SimpleHeaderEnricherParser