Class IMAPFolderPollingWorkflowEventSource

    • Field Detail

      • DEFAULT_POLLING_INTERVAL

        public static final long DEFAULT_POLLING_INTERVAL
        The default polling interval in milliseconds (60000L).
        See Also:
        Constant Field Values
    • Constructor Detail

      • IMAPFolderPollingWorkflowEventSource

        public IMAPFolderPollingWorkflowEventSource​(String p_strGuid)
    • Method Detail

      • getPollingInterval

        public long getPollingInterval()
        Get the polling interval in milliseconds.
        Returns:
        The polling interval.
      • setPollingInterval

        public void setPollingInterval​(long p_lPollingInterval)
        Set the polling interval in milliseconds.
        Parameters:
        p_lPollingInterval - The polling interval.
      • isMicrosoftExchangeServerExistsBugWorkaroundEnabled

        public boolean isMicrosoftExchangeServerExistsBugWorkaroundEnabled()
        Check if the workaround for the bug in Microsoft Exchange Server 2007, 2010, and 2013, is enabled.
        Returns:
        true if the workaround is enabled (default), or false otherwise.
        See Also:
        setMicrosoftExchangeServerExistsBugWorkaroundEnabled(boolean)
      • setMicrosoftExchangeServerExistsBugWorkaroundEnabled

        public void setMicrosoftExchangeServerExistsBugWorkaroundEnabled​(boolean p_bEnabled)
        Enables or disables a possible workaround for a bug in Microsoft Exchange Server 2007, 2010, and 2013, that fails to notify the client of new messages.

        The default value of this property is true.

        See https://github.com/javaee/javamail/issues/156.

        Parameters:
        p_bEnabled - true if the workaround should be enabled, or false otherwise.