Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3099

imap-idle-channel-adapter : is there any possibility to add a new feature in imap-idle-channel-adapter to throw an exception/error ,if re-connection is not happned before (mail.imaps.timeout) given timeperiod

    Details

      Description

      we are writing an integration component which reads emails from 2010 exchange server and creates service tickets on behalf of customers.

      initially we used inbound-channel-adapter to read emails from exchange server, its working fine,

      these days we are facing some issues.

      1. some times exchange server is not available due to infrastructure issues
      2. some times we are seeing connection issues because of exchange server cluster configurations.

      above two situations channel adapters are facing issues to read messages from INBOX.

      until we see the logs, we are not in a position to say what went wrong. support team doesn't know what happening.

      to over come this we added below configuration

      <int:poller fixed-delay="${common.mail.poller.delay}"
      	time-unit="SECONDS" error-channel="errorChannel" />
      

      using this errorChannnel message we are able to notify the support team.

      because of imap-idle-channel-adapter rich features we started using imap-idle-channel-adapter. using this we are not able to recive errormessage

      when connection is dropped. imap-idle-channel-adapter currently its writing a WARN message and trying to reconenct

      is there any possibility to add new feature in imap-idle-channel-adapter to throw an exception/error ,if re-connection is not happned before (mail.imaps.timeout) given timeperiod

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grussell Gary Russell
                Reporter:
                samba.gaddam samba
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: