Ultra easy question

Home Page Forums BizTalk 2004 – BizTalk 2010 Ultra easy question

Viewing 1 reply thread
  • Author
    Posts
    • #16146

      Hi,

      I might be in the wrong place to ask this as the word "GURU" appears on the title of the page, I know nothing about biztalk so this might be a bit basic for this forum, appologies if it is.

      Can you tell me if Biztalk is ok with doing this:

      I have a bit of C++ code that will run 24/7 and write to a text file, it will do this by doing an FOPEN, then fprintf's to it.  Will Biztalk be able to read the contents of this file and process the records(lines) FIFO and delete them as it goes.  Perhaps I'd be better using a database or something to store the data but thought if the C++ code is already writing to a file we might as well use it.

      Just in case it helps, the C++ code is receiving data via a TCPIP Socket (listening to a port on the PC) from a mainframe, I want to use Biztalk to forward this data to another system but don't want to have to stop the C++ or mainframe code to do so.

      Thanks if anyone can answer.

      Yaz

       

       

    • #16149

      Yes, it sounds like something BizTalk would be able to do.  As long as BizTalk can get an exclusive lock on the file and it’s ok to delete it. 

       

      If this is all you need to do, then BizTalk might be over kill for this solution.  You could write custom code to accomplish this and put it into a windows service.

       

      Hope this helps.

      • #16172

        Thanks Stephen,

        I guess that if Biztalk needs an exclusive lock that my bit of C++ code could no longer have the file open for writing?  I'm not sure how locking works with simple text file under windows as I'm an old mainframe f@rt.

        Thanks again.

        Yaz

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