public abstract class AbstractOutboundChannelAdapterParser extends AbstractChannelAdapterParser
AbstractEndpoint depending on the channel type.
If this component is defined as nested element (e.g., inside of the chain) it will produce
a MessageHandler.ID_ATTRIBUTE, NAME_ATTRIBUTE| Constructor and Description |
|---|
AbstractOutboundChannelAdapterParser() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBeanDefinition |
doParse(org.w3c.dom.Element element,
ParserContext parserContext,
java.lang.String channelName)
Subclasses must implement this method to parse the adapter element.
|
protected BeanComponentDefinition |
doParseAndRegisterConsumer(org.w3c.dom.Element element,
ParserContext parserContext)
Override this method to control the registration process and return the bean name.
|
protected boolean |
isUsingReplyProducer()
Override this to signal that this channel adapter is actually using a AbstractReplyProducingMessageHandler
while it is not possible for this parser to determine that because, say, a FactoryBean is being used.
|
protected abstract AbstractBeanDefinition |
parseConsumer(org.w3c.dom.Element element,
ParserContext parserContext)
Override this method to return the BeanDefinition for the MessageConsumer.
|
parseInternal, resolveIdparse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallbackpublic AbstractOutboundChannelAdapterParser()
protected AbstractBeanDefinition doParse(org.w3c.dom.Element element, ParserContext parserContext, java.lang.String channelName)
AbstractChannelAdapterParserdoParse in class AbstractChannelAdapterParserelement - The element.parserContext - The parser context.channelName - The channel name.protected BeanComponentDefinition doParseAndRegisterConsumer(org.w3c.dom.Element element, ParserContext parserContext)
parseConsumer(Element, ParserContext) instead.element - The element.parserContext - The parser context.protected abstract AbstractBeanDefinition parseConsumer(org.w3c.dom.Element element, ParserContext parserContext)
element - The element.parserContext - The parser context.protected boolean isUsingReplyProducer()