INT-680 correctly setting the 'receive-timeout' value for a 'poller' element

This commit is contained in:
Mark Fisher
2009-06-25 00:17:24 +00:00
parent 9e46604275
commit 4d3c9d32fc
3 changed files with 26 additions and 1 deletions

View File

@@ -76,6 +76,7 @@ public class PollerParser extends AbstractBeanDefinitionParser {
}
configureTrigger(element, metadataBuilder, parserContext);
IntegrationNamespaceUtils.setValueIfAttributeDefined(metadataBuilder, element, "max-messages-per-poll");
IntegrationNamespaceUtils.setValueIfAttributeDefined(metadataBuilder, element, "receive-timeout");
Element adviceChainElement = DomUtils.getChildElementByTagName(element, "advice-chain");
if (adviceChainElement != null) {
configureAdviceChain(adviceChainElement, metadataBuilder, parserContext);