Skip to Content
avatar image
Former Member

Dummy XML not getting generated from empty file by J2EE adapter module

Hi All,

i know when XI gets an empty input text file, it does not generate a send message for it in sender communication channel.

in my scenario, if i get a file with data, i have to generate an XML message for it using file content conversion - this i have done...........

but if i get an empty text file, then i have to generate a dummy XML send message for it for my BPM.......

So i made a J2EE adapter module to generate dummy xml for empty file.....<b>when i give a file with data in it, then my adapter module is called..... but when i give an empty file, then my adapter module is not called</b>.........

<b><i>Can anybody suggest why the module processor is not invoking my customer-adapter module when an empty file is given.............but the module processor is invoking my customer-adapter module when a file with data is given</i>.</b>

Thanks,

Rajeev Gupta

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 20, 2006 at 12:02 PM

    Hi Rajeev,

    Can you send the code of process method you implemented?

    Amit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Amit,

      can you explain in slightly more detail how to write the OS script for empty file movement and creation of a new file with same name and timestamp in the same directory....

      Thanks,

      Rajeev Gupta