cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter Question...

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks Moorthy,

yes, i think that the solution is in this way.

Regards,

Diego.

moorthy
Active Contributor
0 Kudos

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