Please sincerely provide with easy solutions or ideas for the following requirement.
- I create the flow service A in Package A which reads a csv file in local Linux.
- To locate the csv file, I would like to use a customized configuration file. (*.xml, *.properties, etc.)
- The configuration file should be loaded when IS start or Package A is reloaded.
Can’t we have File Polling for your requirement ?
for point 3 this can be handled by a StartupService which will be executed every time when the package is loaded.
You will have to write a service which reads in the configuraiton file from filesystem (point 2) and then define this service as a StartupService for this package (righ click on the package and then choose “Properties”).
For reading in and parsing the csv file please have a look at the FlatFile feature.
I am not sure if file polling will help here as it is using fixed directory name in the port configuration.
Depends on which part of the file location Shogo wants to customize.
Thanks for the advice very much.
I will try to create some solutions according to your advices.
When I have any question, please sincerely let me ask.