Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Wait time in SAP PI 7.31 ?

$
0
0

Hi Experts,

 

We have SFTP--->PI--->Proxy.

 

We are picking XML file from SFTP and sending the same file to proxy as an attachment with help of javamapping.

 

FileNaming Schema : 01_US_DDMMYYSS.xml where US is common for all the files

 

like eg : 01_US_DDMMYYSS.xml , 02_US_DDMMYYSS.xml, 03_US_DDMMYYSS.xml  etc..

 

So for this i have mentioned in SFTP sender comm channel in filename as *US*.xml .

 

Now assuming there are 10 files with above naming convention ,SFTP adapter will pick all these 10 files at a time process it and send it to ECC at once.

 

Now my question is:

1.Instead of picking all 10 files at one time can i pick one file with time interval of 3 min or something ?

2.If its not possible to pick one file at a time can i pick all at once but send to ECC one by one ??

 

I have got answer for my second option i.e with going for CCBPM and also i have found a blog where you can insert udf as below to wait in mapping.

 

UDF:

 

try{ Tread.sleep(3000) ;} catch (){}

 

 

But it doesn't seem a good idea to go fro BPM / Waiting in Mapping.

 

So can you please suggest any other approach to handle this ?

 

System : 7.31 , Dual Stack.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>