RE: Processing one file at a time in BTS 2002

From: Allen Zhang (azhang_at_online.microsoft.com)
Date: 07/07/04


Date: Wed, 07 Jul 2004 22:31:51 GMT

On file send port property page, there is a setting for when creating
output file, you want to either Append, Overwrite or CreateNew (if exists
will fail).

Since you do not want them to append, you should select a unique name by
using File name macro substitution and CreateNew option. For example, the
output file name should be c:\temp\%MessageId%.xml. This will generate
different file names every time. For a list of available macros, please
refer to BizTalk documentations.

- Allen Zhang (MSFT)

This posting is provided "AS IS" with no warranties, and confers no rights.

> I recently created a simple BTS application that takes a single XML (per
> transaction - insert, update), using File System processing drop the XML
> file in the folder where BTS picks it up, processes it through BizTalk
2002
> and then performs the necessary action on the other side.
>
> This all works fine, but during real world testing if several files got
put
> in the pickup directory all of the files would get luped together as ONE
XML
> file on the other side and mess up the entire processing of the
application.
> I need to processes just one file at a time right nw. Is this possible and
> how? Also in the future how do you handle the schema definitions on
multiple
> files at a time?
>
>
>



Relevant Pages

  • Add Record To Existing Table via VB code
    ... name field on output file, ... can not find is the code to add or APPEND the data to the new table. ... 'primary-key part 3 ... Programmer Analyst II ...
    (microsoft.public.access.formscoding)
  • Re: How to output values to a file for different runs
    ... ram wrote: ... time that output file doesn't append the output the values. ... Daniel Pitts' Tech Blog: ...
    (comp.lang.java.programmer)
  • Re: Adding a column to an existing output file
    ... Does anyone know if there's a way to use APPEND ... to add a column to an output file, rather than adding rows at the ... But while it can be convenient, note that paste doesn't directly modify ... It creates a whole new file, which you could then rename if ...
    (comp.lang.fortran)
  • Re: Newbe needs help
    ... and an output file ... to append it to??? ... but in perl in the form ...
    (perl.beginners)
  • Re: Zugriffsberechtigung
    ... Du solltest auf jeden Fall auch FileAccess auf Read stellen. ... CreateNew, Append und so wäre auskräftig genug. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)