cancel
Showing results for 
Search instead for 
Did you mean: 

Control the triggering of Sender file adapter

Former Member
0 Kudos

Hi,

I'm having requirement for file-to file Interface. Is there any possibilty to control the triggering of sender file adapter only when file received on target side is consumed.

Means when the target folder on receiver side is empty then only the sender file adapter needs to trigger.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

ok

prateek
Active Contributor
0 Kudos

Use BPM for this. First of all ur processing logic is started from the target side. So at first use it at sender. Async Receive step. Use OS command to check if the target dir is empty. If yes, send some dummy message to XI indicating whether the folder is empty or not.

Now receive another file from the Original source folder and proceed with the scenario.

Regards,

Prateek

Former Member
0 Kudos

Prateek,

Thanks for the response.

This BPM procedure sounds good. Can you please throw some more light on to it.

I mean how the BPM goes, after target sends a dummy file, with that how to correlate the triggering of actual source.

Former Member
0 Kudos

u need to write adapter Module for checking folder of Receiver side ..