Previous Topic: How the PUPM Feeder Works

Next Topic: Create an Endpoint CSV File


Configure the Feeder Properties File

The feeder properties file specifies the polling interval and the name and location of the polling folder, processed file folder, and error file folder. JBoss reads the feeder properties file each time it starts.

To configure the feeder properties file

  1. Stop JBoss Application Server if it is running.
  2. Open the feeder properties file in a text-based editor. The file is located at the following location, where JBoss_home is the location in which you installed JBoss:
    JBoss_home/server/default/deploy/IdentityMinder.ear/custom/ppm/default/feeder.properties
    
  3. Enable one of the following parameters:
    FOLDER_POLLING_INTERVAL_IN_MINUTES

    Defines the interval, in minutes, at which the PUPM feeder polls the polling folder. This parameter is enabled by default.

    Limits: 1-60

    Default: 60

    FOLDER_POLLING_CRON_EXPR

    Defines the times at which the PUPM feeder polls the polling folder. Specify this parameter as a cron expression.

    Important! If you use this parameter, remove the comment mark (#) from the FOLDER_POLLING_CRON_EXPR line and disable the FOLDER_POLLING_INTERVAL_IN_MINUTES parameter by adding a comment mark at the start of the line.

    Example: FOLDER_POLLING_CRON_EXPR=0 0 23 ? * MON-FRI

    This example specifies that the PUPM feeder polls the polling folder at 11 pm Monday through Friday.

    The polling interval is configured.

  4. (Optional) Edit the following parameters:
    FOLDER_FOR_POLLING

    Defines the polling folder—the folder that the PUPM feeder polls for CSV files.

    Default: JBoss_home/server/default/deploy/IdentityMinder.ear/custom/ppm/feeder/waitingToBeProcessed

    Note: This folder must be located on the Enterprise Management Server computer. You must specify the absolute file path to this folder.

    FOLDER_FOR_PROCESSED_FILES

    Defines the processed files folder—the folder that the PUPM feeder moves CSV files to after it processes them.

    Default: JBoss_home/server/default/deploy/IdentityMinder.ear/custom/ppm/feeder/processed

    Note: This folder must be located on the Enterprise Management Server computer. You must specify the absolute file path to this folder.

    FOLDER_FOR_ERROR_FILES

    Defines the error files folder—the folder to which the PUPM feeder moves CSV files that it cannot process.

    Default: JBoss_home/server/default/deploy/IdentityMinder.ear/custom/ppm/feeder/failedToSubmit

    Note: This folder must be located on the Enterprise Management Server computer. You must specify the absolute file path to this folder.

    The names of the polling folders are configured.

  5. Save and close the file.

    The feeder properties file is configured.

  6. Restart JBoss Application Server.

Example: Feeder Properties File

The following example configures the PUPM feeder to poll the polling folder every 30 minutes, and defines the location of the polling folder, processed files folder, and the error files folder:

# feeder folder polling job configuration
# folder specified as FOLDER_FOR_POLLING will be checked every FOLDER_POLLING_INTERVAL_IN_MINUTES minutes e.g. 60 equals every 1 hour (max value is every hour)
FOLDER_POLLING_INTERVAL_IN_MINUTES=30	
# if cron expression is supplied remark the FOLDER_POLLING_INTERVAL_IN_MINUTES key
# FOLDER_POLLING_CRON_EXPR= 
FOLDER_FOR_POLLING=C:\feeder\waitingToBeProcessed
FOLDER_FOR_PROCESSED_FILES=C:\feeder\processed
FOLDER_FOR_ERROR_FILES=C:\feeder\failedToSubmit