Deleting large numbers of messages

Business processes that call the Mailbox Delete service to delete large numbers of messages might take longer than expected to complete.

About this task

To prevent long run times of business processes that call the Mailbox Delete service, the default value of the number of messages that are in a bulk delete operation is 30. If your business requirements call for larger numbers of messages to be processing at one time, you must change the configuration.

To change the number of messages deleted at one time:

Procedure

  1. In the install_dir\* directory, locate the global.properties file.
  2. Open the global.properties file in a text editor.
  3. Configure the following property based on your requirements:
    com.ibm.mailbox.message.bulk.delete.threadpool.size
    The maximum numbers of messages to delete in one operation with the Mailbox Delete service. And integer value. Default value is 30.
  4. Save the properties file.