Added 'max-messages-per-poll' value (INT-412).

This commit is contained in:
Mark Fisher
2008-10-13 23:28:55 +00:00
parent 5e8a3562e1
commit b1d647298a

View File

@@ -108,6 +108,7 @@ public abstract class AbstractConsumerEndpointParser extends AbstractSingleBeanD
Element pollerElement = DomUtils.getChildElementByTagName(element, POLLER_ELEMENT);
if (pollerElement != null) {
IntegrationNamespaceUtils.configureTrigger(pollerElement, builder);
IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, pollerElement, "max-messages-per-poll");
Element txElement = DomUtils.getChildElementByTagName(pollerElement, "transactional");
if (txElement != null) {
IntegrationNamespaceUtils.configureTransactionAttributes(txElement, builder);