INT-1375 changed the default value for 'should-mark-messages-as-read' to 'true'
This commit is contained in:
@@ -195,7 +195,7 @@
|
||||
]]></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="should-mark-messages-as-read" type="xsd:string" use="optional" default="false">
|
||||
<xsd:attribute name="should-mark-messages-as-read" type="xsd:string" use="optional" default="true">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation><![CDATA[
|
||||
Specify whether mail messages should be marked as read aftre being retrieved (Not supported in POP3).
|
||||
|
||||
@@ -64,7 +64,7 @@ public class ImapIdleChannelAdapterParserTests {
|
||||
Properties properties = (Properties) receiverAccessor.getPropertyValue("javaMailProperties");
|
||||
assertEquals(0, properties.size());
|
||||
assertEquals(Boolean.TRUE, receiverAccessor.getPropertyValue("shouldDeleteMessages"));
|
||||
assertEquals(Boolean.FALSE, receiverAccessor.getPropertyValue("shouldMarkMessagesAsRead"));
|
||||
assertEquals(Boolean.TRUE, receiverAccessor.getPropertyValue("shouldMarkMessagesAsRead"));
|
||||
}
|
||||
@Test
|
||||
public void simpleAdapterWithMarkeMessagesAsRead() {
|
||||
|
||||
Reference in New Issue
Block a user