Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading Huge Files in OSB

user790116Jun 21 2013 — edited Jul 3 2013

Hi,

I have a requirement in which OSB has to read a file from FTP server. The File Size can be up to 100mb.

Problem : When the third party system which is EdiFecs here, writing the File ,OSB is also polling on the directory. There are very good chances of OSB picking the incomplete file. So how can we get rid of this situation.

My Thoughts :

1) JCA Approach : We can create a JCA with the minimum file age option in Jdev and that can be imported in OSB by creating Business Service. So that way OSB will not read the file till that minimum age.

2) While going through some documents, its mentioned that whenever OSB finds a file in the location, first it will try to rename the file (.stage probably) and place it in to Stage directory then starts processing. So is it correct to say that if OSB not able to rename the file because the other system is still writing it then OSB will not read the file and will try again until it is able to read the file or it will throw error like "Couldn't able to rename the file".

Please suggest which approach is better or any new approach.

Thanks,

Ankit

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2013
Added on Jun 21 2013
3 comments
754 views