on 09-30-2009 6:55 PM
Hi Experts,
My scenario is proxy->file(xml). The file will be huge.
Once the file is kept on the target location, some crons will pick this file for processing.
How can I make sure that the file should not be picked by crons until the file is completely written on the target location by PI file receiver adapter?
Your inputs will be highly appreciated.
Thanks and regards, Prasad
Thanks a lot for all your answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try to increase the polling interval of the cron job running in the target system based upon the time taken for you to write the file to the target directory.
Regards,
Nithiyanandam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasad,
In your file receiver communication cahnnel under proessing paramters --> write mode use the option Use Temporary File and give some name. Then while writing it writes to a temporary file and then the whole file will be moved to original directory.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
Thanks a lot for yout reply. I have another question on the same.
When XI creates temporary file, where will this temporary file be created?
And please correct me if my understanding is correct on below.
If we select 'Use temporary file', then XI first creates this temporary file, writes all the data to it and then moves the whole file to the target location. And if we select 'directly' then XI first creates the file on target location and then it starts writing the content to the file. Is this understanding correct?
Thanks a lot.
Regards,
Prasad
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.