on 07-13-2006 7:27 PM
Hi all,
could somebody tell me if there is a way to limit the number of files processed by a File Adapter in a poll cycle?
We need to load files from seven folders, each one has different priority (files from one folder have more priority than other folder ones)
I hope to was clear...
Best regards,
Diego.
hello
You can run java program through OS level command to check the number of files. you can also have some kind of config file to describe the priorities. I guess u will req 2 file adapters one for controlling and other for actual polling.
Regards
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Moorthy,
yes, i think that the solution is in this way.
Regards,
Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is no direct function to do this. I think.
But you can use the OS command to execute the script to make the markings. So the Script will mark the files ReadOnly etc , then file adapter will pull the ReadOnly files only..
This is workaround here.
And you can think of EOIO also.
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.