Service definition framework (SDF) yfs.properties

Use the customer_overrides.properties file to override properties in the Service Definition Framework category of yfs.properties.

The following table contains the Service Definition Framework yfs.properties and descriptions.

Property Values Description
Service Definition Framework (SDF)
yfs.smtp.session.reaptime

yfs.jms.session.reaptime

Default = 10*60 seconds This is the frequency at which the JMS/SMTP connection reaper thread will examine the connection pool for connections that are eligible to be closed. The connection will be eligible to be closed if the connection is idle for the number of seconds specified for the reaptime. This property is specified in seconds.
yfs.smtp.connectionpool.enable Valid values = true or false

Default = true

To disable SMTP connection pooling, set this property to false. IBM® recommends setting this property to true for performance reasons.

Example:

yfs.smtp.connectionpool.enable=true

yfs.emailer.class <class name> The class that handles automated e-mail communication to and from this application.

Example:

yfs.emailer.class=com.yantra.util.YFCEmailerImpl

yfs.email.template.encoding <encoding type>

Default = UTF-8

Handles encoding for e-mail communication to and from this application.

Example:

yfs.email.template.encoding=UTF-8

yfs.xsl.uriresolver <class name> This class can be used to provide a custom URIResolver during XSL processing.

If this property is not present, then the default implementation provided by the XSL processor is used. If set to com.yantra.interop.util.YantraDefaultURIResolver an attempt is made to resolve the URI within the classpath. If set to another class name, this class is used in place of the YantraDefaultURIResolver. The class given here must implement the javax.xml.transform.URIResolver interface.

Example:

yfs.xsl.uriresolver=com.yantra.interop.util.Yan traDefaultURIResolver

yfs.sync.jms.request.timetolive <number of seconds>

Default = responseTimeOut value of the receiver

Request queue timetolive in seconds for Synchronous JMS messages. Use this property to set the timetolive value for Synchronous JMS Messages. Note that, this property is a global level override and is applicable for all the services using Synchronous JMS.

WARNING: If this property value is set beyond the responseTimeOut value, it may result in unprocessed request messages in the reply/response queue. By default, in order to clean up the un-processed messages from the reply/response queue, the timeToLive for request messages is set to the responseTimeOut value of the receiver.

Example:

yfs.sync.jms.request.timetolive=100

yfs.sync.jms.request.timetolive.<SERVICE_NAME> <number of seconds>

Default = responseTimeOut value of the receiver

Request queue timetolive in seconds for Synchronous JMS messages. Use this property to set the timetolive value for Synchronous JMS Messages. Note that, this property is applicable only for the specified service.

WARNING: If this property value is set beyond the responseTimeOut value, it may result in un-processed request messages in the reply/response queue. By default, in order to clean up the un-processed messages from the reply/response queue, the timeToLive for request messages is set to the responseTimeOut value of the receiver.

Example:

yfs.sync.jms.request.timetolive.<SERVICE_NAME>=60

yfs.reprocess.MaxErrorMessageLength Valid value = integer

Default = 4000

Setting this property will decide the length to which the error message to be stored in YFS_REPROCESS_ERROR table should be truncated.

Example:

yfs.reprocess.MaxErrorMessageLength=4000

yfs.eof.wait.time Valid values =<number of seconds>

Default = 300

Set this property to indicate the time interval (in seconds) an EOF message must wait to lapse after receiving an EOF message before executing the service.

Example: yfs.eof.wait.time=300

<servicename>.suppress.ApplicationContextInfo Valid values = true or false

Default = false

Set this property to true in order to suppress the addition of AppContextInfo element into the XML message being put into the JMS queue or DB table, when change project management is enabled.

<servicename> is the name of the service which puts a message into a JMS queue or DB table.

Example: For the service names exportservice, to suppress the AppContextInfo element exportservice.suppress.ApplicationContextInfo=true