fixing typos in comments and tests
This commit is contained in:
@@ -58,7 +58,7 @@ public class MailSendingMessageHandlerContextTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void stringMesssagesWithConfiguration() {
|
||||
public void stringMessagesWithConfiguration() {
|
||||
this.handler.handleMessage(MailTestsHelper.createIntegrationMessage());
|
||||
SimpleMailMessage mailMessage = MailTestsHelper.createSimpleMailMessage();
|
||||
assertEquals("no mime message should have been sent",
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
xmlns:int="http://www.springframework.org/schema/integration"
|
||||
xmlns:int-mail="http://www.springframework.org/schema/integration/mail">
|
||||
|
||||
<int:channel id="recieveChannel"/>
|
||||
<int:channel id="receiveChannel"/>
|
||||
|
||||
<int-mail:inbound-channel-adapter store-uri="imaps://[username]:[password]@imap.gmail.com/INBOX"
|
||||
channel="recieveChannel">
|
||||
channel="receiveChannel">
|
||||
<int:poller max-messages-per-poll="1">
|
||||
<int:interval-trigger interval="5000"/>
|
||||
</int:poller>
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
xmlns:int="http://www.springframework.org/schema/integration"
|
||||
xmlns:int-mail="http://www.springframework.org/schema/integration/mail">
|
||||
|
||||
<int:channel id="recieveChannel"/>
|
||||
<int:channel id="receiveChannel"/>
|
||||
|
||||
<int-mail:imap-idle-channel-adapter store-uri="imaps://[username]:[password]@imap.gmail.com/INBOX"
|
||||
channel="recieveChannel"/>
|
||||
channel="receiveChannel"/>
|
||||
|
||||
</beans>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<int-mail:imap-idle-channel-adapter id="customAdapter"
|
||||
store-uri="imaps://[username]:[password]@imap.gmail.com/INBOX"
|
||||
channel="recieveChannel"
|
||||
channel="receiveChannel"
|
||||
auto-startup="true"
|
||||
should-delete-messages="false"
|
||||
java-mail-properties="javaMailProperties"/>
|
||||
@@ -28,7 +28,7 @@
|
||||
<int-mail:inbound-channel-adapter id="imapAdapter"
|
||||
store-uri="imaps://[username]:[password]@imap.gmail.com/INBOX"
|
||||
java-mail-properties="javaMailProperties"
|
||||
channel="recieveChannel"
|
||||
channel="receiveChannel"
|
||||
should-delete-messages="true"
|
||||
auto-startup="true">
|
||||
<int:poller max-messages-per-poll="1">
|
||||
@@ -36,10 +36,10 @@
|
||||
</int:poller>
|
||||
</int-mail:inbound-channel-adapter>
|
||||
|
||||
<int:channel id="recieveChannel"/>
|
||||
<int:channel id="receiveChannel"/>
|
||||
|
||||
<int:service-activator input-channel="recieveChannel">
|
||||
<bean class="org.springframework.integration.mail.config.GoogleTest.SampleReciever"/>
|
||||
<int:service-activator input-channel="receiveChannel">
|
||||
<bean class="org.springframework.integration.mail.config.GoogleTest.SampleReceiver"/>
|
||||
</int:service-activator>
|
||||
|
||||
<util:properties id="javaMailProperties">
|
||||
|
||||
Reference in New Issue
Block a user