Trading Networks 10.15 | Administering Trading Networks | Trading Networks On Microservices Runtime | Setting Configuration Variables in Trading Networks on Microservices Runtime
 
Setting Configuration Variables in Trading Networks on Microservices Runtime
Microservices Runtime applies the configuration variables at startup. When Microservices Runtime starts, it looks for configuration variables for ${SAG_HOME}/IntegrationServer/packages/WmTN/config/properties.cnf.
Note:
The feature supports only those configuration mentioned in the ${SAG_HOME}/IntegrationServer/packages/WmTN/config/properties.cnf file.
1. Create a separate file with any arbitrary name.
For example, application.properties
Note:
When Microservices Runtime does not find the configuration variables at any of the locations, it proceeds with the startup step without applying the variables.
2. Set the values for properties.cnf in application.properties.
Note:
The string tnProperty must be prepended to every property you set.
For example:

tnProperty.tn.task.maxRetries=2000
tnProperty.tn.query.makrows=250
3. Set the property to the path of the file. For more information on setting configuration variables, see Using Configuration Variables Templates with Microservices Runtime.
4. Start Microservices Runtime.
The Microservices Runtime environment applies all the property behaviors listed in the properties file after the Integration Server restart.