The Categorizer sink that runs in the SMTP service sets a 15-minute timer. The 15-minute timer is set for each GUID that is used for notifications and that is stored in memory. During those 15 minutes, batching removes all messages that have the same GUID that matches the one in the memory of the device.
The batching timer value is a fallback timer that determines when to send notifications to a device. When a notification is sent to a device, no other notifications are sent until either the device synchronizes with the server or the fallback timer elapses. When you have a reliable Short Message Service (SMS) network, you can increase the value of the batching time to possibly lower SMS costs by reducing the number of notifications that are sent. Alternatively, you may also want to lower the value of the batching time to zero in a test environment.
.
The default value of the batching timer is 15 minutes. To change the value, you must add the following registry entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\OMA\BatchingTimer
Note For this registry key to take effect, you must restart Microsoft Internet Information Services (IIS).
To add this registry entry, follow these steps.
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange
- If there is an OMA subkey, go to step 6.
- To create an OMA subkey, point to New on the Edit menu, and then click Key.
- Type OMA, and the press ENTER.
- Locate and then click the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\OMA
- On the Edit menu, point to New, and then click DWORD Value.
- Type BatchingTimer, and then press ENTER.
- Right-click BatchingTimer, and then click Modify.
- In the Edit DWORD Value dialog box, click Decimal, and then type the value in milliseconds that you want to set for the batching timer (15 minutes equals 90,000 milliseconds).
- On the File menu, click Exit.
- Restart IIS. To do this, follow these steps:
- Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type iisreset, and then press ENTER.
- Type exit, and then press ENTER.
Note The BatchingTimer registry entry follows these rules:
- If the BatchingTimer registry subkey does not exist, batching occurs every 15 minutes.
- If the value of the BatchingTimer registry subkey is less than 15 but is not equal to zero, batching occurs every 15 minutes.
Note You can decrease the value of the batching timer to 15 minutes if it was previously set higher, but you can decrease it only to either 15 minutes or 0 minutes.