BizTalk Server General - send ports writing to same flat file

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > October 2005 > send ports writing to same flat file





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 send ports writing to same flat file
Nalaka

2005-10-28, 5:03 pm

Hi,
I have two send ports (one after the other), that writes to the same flat
file.

The problem is that orchestration (via send shape), move the xml to the send
port , and move to the next send shape.
And second port, starts writing before the first port completes...

How can I make sure, that the second port will wait for the first to finish?
is there any way to get the send shape to wait, till the port finishes its
job?


any help is much appreciated.



Thanks
Nalaka



Jon Flanders

2005-10-28, 5:03 pm

Hello Nalaka, Specify that you want Delivery Notification on the first Send
Port. That should take care of it.


Jon Flanders [MVP]
http://www.masteringbiztalk.com

> Hi,
> I have two send ports (one after the other), that writes to the same
> flat
> file.
> The problem is that orchestration (via send shape), move the xml to
> the send
> port , and move to the next send shape.
> And second port, starts writing before the first port completes...
> How can I make sure, that the second port will wait for the first to
> finish? is there any way to get the send shape to wait, till the port
> finishes its job?
>
> any help is much appreciated.
>
> Thanks
> Nalaka



WenJun Zhang[msft]

2005-10-28, 5:03 pm

Hi Nalaka,

You'd put the first send shape in an atomic scope first, then set delivery
notification to transmitted on the send port, and add a catch handler on
the scope to handle a DeliveryFailureException.

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

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

Nalaka

2005-10-28, 5:03 pm

Hi,
I am using bizTalk 2004,
"Delivary Notification" option is not available, when I pick "transport =
FILE".
(it is available for "Transport = MSMQT")

Or am I doing something wrong?

Nalaka




""WenJun Zhang[msft]"" <wjzhang@online.microsoft.com> wrote in message
news:urmp4x52FHA.3936@TK2MSFTNGXA01.phx.gbl...
> Hi Nalaka,
>
> You'd put the first send shape in an atomic scope first, then set delivery
> notification to transmitted on the send port, and add a catch handler on
> the scope to handle a DeliveryFailureException.
>
> Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



WenJun Zhang[msft]

2005-10-31, 2:48 am

Hi Nalaka,

Never mind. When using Delivary Notification, you should use later binding,
i.e: in port configuration, select 'Specify Later'. Then you can configure
the transport details in Biztalk Explorer. Delivary Notification doesn't
work with Direct Binding and only works with MSMQT adapter when using
'Specify Now'. The comment in online document is incorrect and not
comprehensive on this:

"Note Delivery notification is not supported for direct binding."

http://msdn.microsoft.com/library/d...-us/sdk/htm/ebi
z_prog_orch_pxnj.asp

We've filed a documentation bug of this. Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

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

Nalaka

2005-10-31, 5:55 pm

Thanks....

""WenJun Zhang[msft]"" <wjzhang@online.microsoft.com> wrote in message
news:fJoPyUf3FHA.3220@TK2MSFTNGXA01.phx.gbl...
> Hi Nalaka,
>
> Never mind. When using Delivary Notification, you should use later
> binding,
> i.e: in port configuration, select 'Specify Later'. Then you can configure
> the transport details in Biztalk Explorer. Delivary Notification doesn't
> work with Direct Binding and only works with MSMQT adapter when using
> 'Specify Now'. The comment in online document is incorrect and not
> comprehensive on this:
>
> "Note Delivery notification is not supported for direct binding."
>
> http://msdn.microsoft.com/library/d...-us/sdk/htm/ebi
> z_prog_orch_pxnj.asp
>
> We've filed a documentation bug of this. Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com