INT-1624 Add error-channel to imap idle inbound channel adapter XSD, Parser, Test

This commit is contained in:
Gary Russell
2010-11-17 15:59:55 -05:00
parent 031ab1424e
commit 27b0f153ee

View File

@@ -55,6 +55,7 @@ public class ImapIdleChannelAdapterParser extends AbstractSingleBeanDefinitionPa
Assert.hasText(channel, "the 'channel' attribute is required");
builder.addConstructorArgValue(this.parseImapMailReceiver(element, parserContext));
builder.addPropertyReference("outputChannel", channel);
IntegrationNamespaceUtils.setReferenceIfAttributeDefined(builder, element, "error-channel", "errorChannel");
IntegrationNamespaceUtils.setReferenceIfAttributeDefined(builder, element, "task-executor");
IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, "auto-startup");
}