From d8e7f399e9fa5a14e89f489f787792b74f23a9c7 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 4 Sep 2009 19:59:15 +0000 Subject: [PATCH] INT-794 The 'should-delete-messages' attribute is now required on the element. --- .../config/spring-integration-mail-2.0.xsd | 37 ++++++++++++++++--- ...pIdleChannelAdapterParserTests-context.xml | 3 +- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/org.springframework.integration.mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.0.xsd b/org.springframework.integration.mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.0.xsd index 5e66e35c0e..1f58663f97 100644 --- a/org.springframework.integration.mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.0.xsd +++ b/org.springframework.integration.mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.0.xsd @@ -103,9 +103,18 @@ Defines an IMAP IDLE channel adapter. - + + + + A unique identifier for this adapter. + + + + + Reference to a Message Channel to which Messages will be sent. + @@ -113,9 +122,18 @@ - + + + + URI for the Mail store from which to receive messages. + + + + + Reference to a 'java.util.Properties' instance with settings for the JavaMail Session. + @@ -125,6 +143,9 @@ + + Reference to a TaskExecutor for sending Mail asynchronously. + @@ -132,14 +153,20 @@ - + - + + + + Specify whether this adapter should start automatically. Default is TRUE. + + + diff --git a/org.springframework.integration.mail/src/test/java/org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests-context.xml b/org.springframework.integration.mail/src/test/java/org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests-context.xml index 662ff043a8..e94a116e79 100644 --- a/org.springframework.integration.mail/src/test/java/org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests-context.xml +++ b/org.springframework.integration.mail/src/test/java/org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests-context.xml @@ -18,7 +18,8 @@ + auto-startup="false" + should-delete-messages="true"/>