Note that there are some explanatory texts on larger screens.

plurals
  1. POSpring Integration Pop3MailReceiver stops polling silently without logging why
    primarykey
    data
    text
    <p><strong>Problem</strong></p> <p>I have a very basic configuration for a Spring integration mail adapter setup (below is the relevant sample):</p> <pre><code>&lt;int:channel id="emailChannel"&gt; &lt;int:interceptors&gt; &lt;int:wire-tap channel="logger"/&gt; &lt;/int:interceptors&gt; &lt;/int:channel&gt; &lt;mail:inbound-channel-adapter id="popChannel" store-uri="pop3://user:password@domain.net/INBOX" channel="emailChannel" should-delete-messages="true" auto-startup="true"&gt; &lt;int:poller max-messages-per-poll="1" fixed-rate="30000"/&gt; &lt;/mail:inbound-channel-adapter&gt; &lt;int:logging-channel-adapter id="logger" level="DEBUG"/&gt; &lt;int:service-activator input-channel="emailChannel" ref="mailResultsProcessor" method="onMessage" /&gt; </code></pre> <p>This is working fine the majority of the time and I can see the logs showing the polling (and it works fine hooking into my mailResultsProcessor when a mail is there):</p> <pre><code>2013-08-13 08:19:29,748 [task-scheduler-3] DEBUG org.springframework.integration.mail.Pop3MailReceiver - opening folder [pop3://user:password@fomain.net/INBOX] 2013-08-13 08:19:29,796 [task-scheduler-3] INFO org.springframework.integration.mail.Pop3MailReceiver - attempting to receive mail from folder [INBOX] 2013-08-13 08:19:29,796 [task-scheduler-3] DEBUG org.springframework.integration.mail.Pop3MailReceiver - found 0 new messages 2013-08-13 08:19:29,796 [task-scheduler-3] DEBUG org.springframework.integration.mail.Pop3MailReceiver - Received 0 messages 2013-08-13 08:19:29,893 [task-scheduler-3] DEBUG org.springframework.integration.endpoint.SourcePollingChannelAdapter - Received no Message during the poll, returning 'false' </code></pre> <p>The problem I have is that the polling stops during the day, with no indication in the logs why it has stopped working. The only reason I can tell is the debug above is not present in the logs and E-Mails build up on the E-Mail account.</p> <p><strong>Questions</strong></p> <ul> <li>Has anyone seen this before and know how to resolve it? </li> <li>Is there a change that I can make in my configuration to capture the issue into the log? I thought the logging channel adapter set to debug would have this covered. </li> </ul> <p><em>Using version 2.2.3.RELEASE of Spring Integration on Tomcat 7, logs output default to catalina.out. Deployed on AWS standard tomcat 7 instance.</em></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload