how to avoid multiple instances of one application ?

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › how to avoid multiple instances of one application ?

Viewing 1 reply thread
  • Author
    Posts
    • #22711

      Hi,

      I have an application, which takes a flatfile, work on it and put the records into a sql database.
      Most of the work is done by a .NET assembly (Class) implemented in the BizTalk-Application.

      If there are more than one flatfile in the receiving directory, the application is fired for each flatfile at the same time. As I want to write a protocol in a textfile, I hope, there is a way to tell the application, that it has to work on one flatfile after the other. (The protocol looks very funny, of course of the parallel processing of different flatfiles). I also have troubles due to the parallel access to the protocolfile of all these instances.

      Anyone can help?

    • #22726

      Can you give more information?

      Will all of the files you want to process be in the directory at the same time?  Or will they arrive within a given time period, say every 15 minutes?  Is there anything in the files that tells us this is file 1 of n so we know how many there are in a batch?  Is there a batch identifier in the files?

       

       

      • #22731

        To implement a singleton orchestration pattern you will need to build a convoy orchestration. These can be sequential or parallel. To determine which one is best for you, you will need to be more specific about how you will be processing the incoming files. See  Brunchey’s  questions in the previous reply. 

        • #22742

          It can happen, that more than one file arrives in the receiving port (file). There is no rule about the sequence of the received file. It don’t matter, which one is processed first. There is also need to proccess them in-time.

          But it could happen, that 10+ files arrive via attachment in one mail. This hammers the server and don’t allow a serial protocoll about the things happen during the processing.

          I will try to search some examples about singleton and convoy processing. May u know a sample?

          thx in advance

          Roland

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