Messaging Service maintenance via job system

The ImageMaster job system provides means for setting up automated maintenance tasks. Jobs can be configured and scheduled via the ImageMaster job system.

Automated cleanup of transfer jobs

The following job is available for automatically cleaning up transfer jobs:

com.tsystems.ima.erp.msg.core.maintenance.jobs.cleanup.CleanupTransferJobs

The job deletes all successfully (state=SAPREGISTERED) processed transfer jobs which are older than the number of days given in the cleanup transfer job configuration.

The default configuration deletes all successfully processed transfer jobs that are at least 14 days old (transferJobAge). The minimal transfer job age can be 5 days. All entries < 5, negative values and null (no value or missing tag) will be set to 5 days. All entries > 365 will be set to 365.

The number of jobs to be queried and processed by the cleanup is set to the default value of 1000000 (transferJobLimit). The minimal transfer job limit can be 1 job. All entries < 1, negative values and null (no value or missing tag) will be set to the default value – which is 1000000 jobs. All entries > 10.000 will also be set to the default value of 1000000 jobs.

Configuration (with example values):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<cleanupTransferJobsConfig>

    <transferJobAge>14</transferJobAge>

    <transferJobLimit>1000</transferJobLimit>

</cleanupTransferJobsConfig>

The job can be configured in the ImageMaster job system with the ImageMaster AdminClient.