Example 1: Overriding a property from the yfs.properties.in file

Example 1 shows how to override a property from the yfs.properties file.

Procedure

  1. Check servers.properties to find the PROPERTY_FILE_NAME_PREFIX. In server.properties, the line for yfs.properties.in is:

    yfs=<INSTALL_DIR>/properties/yfs.properties

    yfs is the PROPERTY_FILE_NAME_PREFIX.

  2. The yfs.properties file contains a property called yfs.smtp.connectionpool.enable. For an override entry, the PROPERTY_NAME value would be yfs.smtp.connectionpool.enable. So far, the entry for customer_overrides.properties would be:

    yfs.yfs.smtp.connectionpool.enable

  3. The default value for yfs.smtp.connectionpool.enable is "true". To override this default, add the value "false" to the entry. The completed override entry for the example is.

    yfs.yfs.smtp.connectionpool.enable=false