on 11-04-2014 7:13 AM
Dear All,
I have requirement where soruce system puts multiple files in one folder and PI sender file adapter should pick one file(any order) at a time with a delay of 3 minutes each. This delay is because of traget system which can accept one file at a time with a delay of 3 mintues between each file. Any suggestions on this will be highly appreciated.
Since order is not important to us can we acheive this with EO?
Regards,
Santhosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
use a temp directory and a batchfile in Operation System Commands before Processing.
So you can only copy the first file from you´re temp directory into your source directory and set polling to 180 sec.
Regards,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can set polling time as 180.
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If its only about the target system,you can add delay in mapping also. The sender channel will pick up files normally and mapping will delay the processing to send to the target system.
You can implement the following udf in parent node:
{
try
{ Thread.sleep (
180000
);
}
catch
(InterruptedException ie){}
return
a;
}
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.