07-09-04 08:32 PM
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?
>
>
>
[ Post a follow-up to this message ]
|