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
4. Start Microservices Runtime.
The Microservices Runtime environment applies all the property behaviors listed in the properties file after the Integration Server restart.