Single Instance Orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Single Instance Orchestration

Viewing 1 reply thread
  • Author
    Posts
    • #17583

       

      Hi,

      I have a Project that receives a file and inserts the details into Oracle tables and then executes an Oracle package. I would like my Orchestration to run one instance at a time for each file(No multi threading). i have read on the net and understand Singleton Orchestration and how they work using correlation sets. But i do not want to leave my Orchestration looping while waiting for the next file to arrive. As the files are not so frequent and hours could pass before one would arrive. i would like to have my orchestration receive one file, process it, complete and then start a new orchestration instance when a new file arrives. But i cannot have two instances running at the same time.

       If anyone knows of a way to acheive this. I would be grateful. I can't seem to find anything yet.

      Thanks and regards

       Rob

    • #17585

      Rob,

       I think if you make your batch size equal to one, that should solve your problem because that forces biztalk to process one file at a time. For setting up the batch Size, go in the configuration of file adapter and choose the batching tab.

       

      Regards,

      Sajid.

      • #17586

        Thankyou you for the suggestion. i will give it a go. Unfortunately i forgot to mention that I am receive the xml via a Pop3 adapter. Therefor no batching option(I think). I'll see if it's feasible to copy to a file location and have another orchestration do the batching, but it's a little double handling.

         Regards

         Rob

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