47888: MassTransit Mailbox Polling

use Google Translate

Applies to: 

Last update: 06-04-2016

By default the minimum number of seconds between each mailbox polling is 1 second.  If there are active file transfers occurring for any Contacts, this minimum is increased to 5 seconds.  No mailbox will be polled more than once in any 10 second period.

Polling Scenarios  -- 120 Contacts

  1. No active connections – Contact 1’s mailbox is polled, Contact 2 is polled 1 second later, Contact 3 one second after that , etc.  It will take 120 seconds (2 minutes) for Contact 1 to be re-polled.   
  2. Active connections - Contact 1’s mailbox is polled, Contact 2 is polled 5 seconds later, Contact 3 five second after that, etc.  It will take 600 seconds (10 minutes) for Contact 1 to be re-polled.

During the time that MassTransit is polling the mailboxes, files may end up being placed in Contact 1’s To Send folder.  Those files will not be recognized until Contact 1’s mailbox is re-polled.  If Contact 1 is set to transfer files automatically, those files will not be transferred until MassTransit recognizes that those files are there.  

Mailboxes can be manually polled by highlighting a Contact and clicking on the Check Mailbox button in the upper right of the Contacts window.

The default settings for mailbox polling can be changed in the Mailbox Polling Delay Settings section of the MassTransitEngine.cfg file.  Modifications to this file require a restart of the MassTransit services to take effect.

Sometimes mailbox polling may not occur at all within MassTransit.  This is usually due to database corruption and requires a database repair.  Repairing MySQL Tables.

n extremely rare occasions mailbox polling may have been enabled for some reason and not been turned off.  This setting (DISABLE_MAILBOX_POLLING =) is in the MassTransit.cfg file.  Modifications to this file require a restart of the MassTransit services to take effect.