Issue with Empty file in Orch

Home Page Forums BizTalk 2004 – BizTalk 2010 Issue with Empty file in Orch

Viewing 1 reply thread
  • Author
    Posts
    • #13523

      Hi,

      We have a scenario where in the process of integration between two systems needs to be initiated cheking for a presence of a file \”taskcomplete.txt\”. This txt file is an [b:2761977626]empty file.[/b:2761977626]

      The orch that implements the integration process, need to poll a location for this txt file. When this file appears in the recieve location, the orch needs to be initiated.

      The txt file being empty is never picked up by the file adapter. As a result the integration process does not occur at all.

      Is there any way to deal with this without modifying this txt file contents, Please suggest…..

      Many Thanks in advance.

    • #13522

      The FILE adapter will poll a directory for a file, it will open the file and generate a Biztalk message with the contents. This message will be published to the messagebox. An orchestration bound to this receive port will be initiated.

      Your problem is the file is empty, so no message is being generated.

      If you cannot modify the file contents, then you will need a custom adapter to generate a message when it detects the presence of the \”taskcompleted.txt\” file.

      You might like to check out this adapter
      [url]http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=E473FC93-5081-44C7-A9C9-84BF4E783728[/url]

      You should be able to write a scheduled task class library that can be used by this adapter to meet your needs.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.