cancel
Showing results for 
Search instead for 
Did you mean: 

How to induce delay for Inbound processing

Former Member
0 Kudos

Hi Experts,

I have a scenario JMS to IDOC. User had a system which sometimes it place 2 files at the same time.

Problem arises when receiver IDOC posts both files with same time stamp.

Can you please suggest if this can be feasible in PI to make a delay in Posting of the IDOCs so that the time stamps are different.

For e.g:

If we post 3 messages at the same time than following should be the outcome:

IDOC1--- posted at 13:00:00

IDOC2--- posted at 13:00:05

IDOC3--- posted 13:00:10.

Accepted Solutions (0)

Answers (2)

Answers (2)

Harish
Active Contributor
0 Kudos

Hi Chandra,

Did you tried with EOIO?

regards,

Harish

Former Member
0 Kudos

HI Harish,

     I have tried that .... but the issue is its like 1 out of 50 case where we receive 2 files at the same time.

So my question over here using EOIO will affect the other messages as well.

former_member186851
Active Contributor
0 Kudos

Hello Chandrabhan,

Use an UDF to create a time delay as posted by Inaki.

Other options would be using

1.BPM.

2.By pass scenario-Place it in a temp folder and process the files.

iaki_vila
Active Contributor
0 Kudos

Hi Chandrabhan,

If you are using a mapping you can use the instruction Thread.sleep as Anupam explains in this thread

Regards