cancel
Showing results for 
Search instead for 
Did you mean: 

RFC receiver adapter, maximum connections parameter

Former Member
0 Kudos

Hi PI Gurus,

We have one HTTP to RFC scenario. Its working fine, but there is some small enhancement needs to be done at the Receiver RFC adapter. I have to keep two second delay between two messages.

Can this be done in receiver RFC adapter?

One thing can be done, insert wait for 2 sec in RFC code, but how to restrict for two message only.

There is one parameter 'maximum connections' in RFC adapter, if I assign 02 there will it process max 2 message at a time?

If more than 2 messages come, will it fail others or process all, but 02 at a time.

Regards,

Krishna

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

We have restricted at sender side.

Regards,

Krishna Chauhan

former_member854360
Active Contributor
0 Kudos

Hi,

Design your scenario EOIO.

And In PI message mapping in UDF create a wait time of 2 sec in Java

long t0, t1;
 
         t0 =  System.currentTimeMillis();
 
         do{
             t1 = System.currentTimeMillis();
         }
         while (t1 - t0 <2000);
     return "";