Skip to Content
avatar image
Former Member

File Sender without Sender agreement- Possible?

Hello

It may seems bit unusual but i am having requirement in which the file sender adapter is expected to trigger the OS level command in which it gets the file from SSH server in the XI polling directory and then XI File adapter would pick up that file.

Now it has been observed that, XI File adapter doesn't execute OS level command in its poll cycle unless it creates message which means XI would expect some file (atleast a dummy file) in its polling directory.

Since this is not possible, we thought of creating the second adapter which will poll the dummy file of say 0 KB and call the OS level command which will get the files from SSH server and then the second adapter would poll the actual file.

Since second adapter would serve just as the trigger channel, its not expected to have any sender interface associated with it and hence it should poll the file without any sender agreement. can this be possible?

thanks in advance.

regards

rajeev

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Oct 16, 2008 at 12:56 AM

    Mmm.. Once you activate, it does take the empty file. In rwb you will have an error saying that no suitable sender agreement found. I am not sure if the OS command is still executed even if there is an error. You can try that for sure.

    I am not clear but, I rememeber I read that, in one of the latest SPs on 7.0, the File adapter can be set up to execute OS command before and after file processing also. May be you might want to check the lates documentation.

    VJ

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Interesting suggestion but i preferred this just to keep things in control of our interface team. i can surely schedule a batch shell script but then it would be maintained by another team.

      regards

      rajeev

  • avatar image
    Former Member
    May 11, 2009 at 06:00 AM

    created a dummy interface with source and target same

    Add comment
    10|10000 characters needed characters exceeded