Fix typo in Basic Mail Sample

https://jira.springsource.org/browse/INTSAMPLES-118
This commit is contained in:
Laurent BILLON
2013-10-25 11:23:27 +02:00
parent 8454c9f564
commit 630d1cf009

View File

@@ -33,7 +33,7 @@ public class GmailInboundImapIdleAdapterTestApp {
public static void main (String[] args) throws Exception {
ApplicationContext ac = new ClassPathXmlApplicationContext("/META-INF/spring/integration/gmail-imap-idle-config.xml");
DirectChannel inputChannel = ac.getBean("recieveChannel", DirectChannel.class);
DirectChannel inputChannel = ac.getBean("receiveChannel", DirectChannel.class);
inputChannel.subscribe(new MessageHandler() {
public void handleMessage(Message<?> message) throws MessagingException {
logger.info("Message: " + message);