Announcement Announcement Module
Collapse
No announcement yet.
ImapIdleChannelAdapter never seems to wake up to process messages Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ImapIdleChannelAdapter never seems to wake up to process messages

    In order to circumvent the issue of spring-integ-mail not having support to provide an authenticator I have switched to configuring an ImapIdleChannelAdapter by using the bean tags. I substituted the hierarchy with my own classes to accept an authenticator and pass the authenticator as an arg while opening a session, authentication works now.

    However there seems to be an issue in the code () of ImapIdleChannelAdapter.IdleTask's run method , where the call to mailReceiver.waitForNewMessages() never seems to return. I guess the ImapFolder.idle() call puts the thread to sleep and there is nothing happening to wake it up, can someone please reconfirm this ?

    TIA.
Working...
X