cancel
Showing results for 
Search instead for 
Did you mean: 

Polling interval in file adapter.

Former Member
0 Kudos

Hi,

I have a doubt regarding the file adapter polling interval.

Suppose we get a file of size 512 MB and PI file adapter taking long time (say 15 Min) to process it, we have a polling interval of 10 min.

I have a 2 doubt in this case.

1. what will happen in the next polling interval. because the older file still is in process and it is still in the source folder location.

2. if at the same time there is new file get places in same folder location. then how the file adapter behave in this case. Is it start picking the second file or again poll the incomplete file.

I want to know that is PI maintaining some lock while processing some file from source folder.

regards,

Navneet

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I guess normally it should process both files, earlier one which is in process and the new one as well (it depends your selection string in file name scheme).

Also refer thsi Wiki to help in avoiding duplicate file processing:

http://wiki.sdn.sap.com/wiki/display/XI/DifferentwaystokeepyourInterfacefromprocessingduplicate+files

Regards,

Divyesh Vasani

former_member183816
Active Participant
0 Kudos

hi navneet,

If you are using central adapter engine for this purpose then in the next polling interval,your message get stuck in message queue of adapter engine.

In such scenario we use local integration engine which is part of decentralize adapter which is out of integration server and it will be able to process such large files in seperate queue.

PI works using messege queues.

The above facility is available in only PI 7.1 and upper version.

u can refer adapter architecture for your querry.

Former Member
0 Kudos

Hi Ambuj,

Thanks for the reply.

I don't have issue with the file process it is working fine.

I want to know that how PI Adapter will behave in above two case.

is PI adapter maintaining any object lock or how it will handle this type of cases.

regards,

Navneet

former_member183816
Active Participant
0 Kudos

hi navneet,

as i said earlier it use queue concept to process data not locking.

1.it will gone from source file and get in message queue of central adapter engine.

2.if u put another file for polling it again gone from source and wait in message queue till 1st file get processed.

but integration server could goes down thats why decentral adapter engine is introduced by SAP PI 7.1.So that such big files get queued in this local integration engine of decentral adapter engine and our central adapter engine available for other processing.

Former Member
0 Kudos

Thanks