Skip to Content
avatar image
Former Member

Control the triggering of Sender file adapter

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 05, 2008 at 06:14 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 05, 2008 at 06:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    May 08, 2009 at 10:56 AM

    ok

    Add comment
    10|10000 characters needed characters exceeded