How to do file polling in 46IS

How file polling can be done in 4.6 integration server


You will have to use the brute-force method. You will need to write a java service does a directory listing and returns back the names of any files in the directory. Then you can get the data from the file using the pub.file:getFile. And finally you will need to write another java service to delete any files read by the aforementioned process. Of course you will need a simple scheduler set up to run at some interval too.

If you want to model the Enterprise Server style of polling with incoming, working, and completion directories then you will have a few more steps involved and probably a couple more java services.