Deleting messages

To specify a clean-up policy on the server, set the property ianywhere.qa.server.deleteRules for the special client ianywhere.server.deleteRules with the rule or rules governing which messages can be deleted from the server.

The following example changes the message clean-up policy to delete expired and canceled messages:

<?xml version="1.0" encoding="UTF-8"?>
<actions>
    <SetProperty>
 <prop>
     <client>ianywhere.server.deleteRules</client>
     <name>ianywhere.qa.server.deleteRules</name>
     <value>auto = ias_Status in ( ias_ExpiredStatus, ias_CancelledStatus ) and ias_TransmissionStatus = IAS_TRANSMITTED</value>
 </prop>
    </SetProperty>
    <RestartRules>
 <client>ianywhere.server.deleteRules</client>
    </RestartRules>
</actions>