BizTalk Server - Processing one file at a time in BTS 2002

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > August 2004 > Processing one file at a time in BTS 2002





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Processing one file at a time in BTS 2002
acool

2004-06-30, 5:55 pm

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?


Allen Zhang

2004-07-09, 3: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?
>
>
>


Jan Eliasen

2004-07-20, 7:48 am

Hi

Isn't the MessageId for BizTalk 2004 only? The question is about
BizTalk 2002.

Jan Eliasen

On Wed, 07 Jul 2004 22:31:51 GMT, azhang@online.microsoft.com (Allen
Zhang (MSFT)) wrote:
[vbcol=seagreen]
>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.
>
>2002
>put
>XML
>application.
>multiple

--
Jan Eliasen, representing himself and not the company he works for.
Shaheer Abubucker

2004-08-03, 5:51 pm

Yes. 2004 uses MessageID. In 2002 it should be %Tracking_ID%

Thanks,
Shaheer Abubucker
Microsoft Biztalk Server Team
This posting is provided "AS IS" with no warranties,and confers no rights.

--------------------
| From: Jan Eliasen <spam@eliasen.dk>
|
| Hi
|
| Isn't the MessageId for BizTalk 2004 only? The question is about
| BizTalk 2002.
|
| Jan Eliasen

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com