|
Home > Archive > BizTalk Server Orchestration > May 2005 > Error with sequential receives
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 |
Error with sequential receives
|
|
| Jeff Wessling 2005-05-02, 5:50 pm |
| I'm trying to create an orchestration that monitors a file directory and
waits for a file with a certain filename to show up, this file is of type
schemaA. When it does the orchestration should start and proceed to pickup
all other files in the directory. Basically I want to ensure all files from
an LOB export process are there before processing starts.
I've setup a very basic orchestration to test if this is possible and I keep
getting the below error:
"C:\Documents and Settings\...\Orchestrations\orch2step.odx(291): in a
sequential convoy receive the ports must be identical
I have one receive port that picks up the 'StartMessage' and one that picks
up the 'Items'. What is meant by identical ports and/or how can I make this
a non-sequential convoy?
Thanks,
Jeff
| |
|
| Hi,
Effectively what you are attempting is a "convoy receive", that means that
the initial document starts the receive and all subsequent documents are
forwarded to the newly created orchestration.
BizTalk requires to have the initial receive and all subsequent receives to
be performed on the same port. So, instead of defining two independed ports,
define one port in the orchestration which has two different methods with
two different message types associated. That way, BizTalk can take advantage
of the convoy processing.
However, please not that I assume to be a problem arising here since all
files are put in the same directory location and no guarantee is provided in
which order BizTalk handles files. Also, the file can be aggregated into
batches which will lead to error situations with documents being suspended.
Sincerely
Joerg Fischer
MVP
"Jeff Wessling" <jeff.wessling@qualifacts.com> schrieb im Newsbeitrag
news:ul15g81TFHA.2812@TK2MSFTNGP09.phx.gbl...
> I'm trying to create an orchestration that monitors a file directory and
> waits for a file with a certain filename to show up, this file is of type
> schemaA. When it does the orchestration should start and proceed to pickup
> all other files in the directory. Basically I want to ensure all files
> from an LOB export process are there before processing starts.
>
> I've setup a very basic orchestration to test if this is possible and I
> keep getting the below error:
>
> "C:\Documents and Settings\...\Orchestrations\orch2step.odx(291): in a
> sequential convoy receive the ports must be identical
>
> I have one receive port that picks up the 'StartMessage' and one that
> picks up the 'Items'. What is meant by identical ports and/or how can I
> make this a non-sequential convoy?
>
> Thanks,
> Jeff
>
| |
| Jeff Wessling 2005-05-04, 2:50 am |
| Thanks Joerg,
I decided that trying to receive everything in the same directory was too
problematic so I'm now recieving the startMessage in one and all items in
another. I've added them into the same port in my orchestration, using
different Operations to accomplish this. However, now I get...
(822): in a sequential convoy receive the messagetypes must be identical
unless the port is marked for OrderedDelivery
Does this mean the messages have to be of the same schema?
<Joerg Fischer> wrote in message
news:eC9Rwt8TFHA.3188@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> Effectively what you are attempting is a "convoy receive", that means that
> the initial document starts the receive and all subsequent documents are
> forwarded to the newly created orchestration.
>
> BizTalk requires to have the initial receive and all subsequent receives
> to be performed on the same port. So, instead of defining two independed
> ports, define one port in the orchestration which has two different
> methods with two different message types associated. That way, BizTalk can
> take advantage of the convoy processing.
>
> However, please not that I assume to be a problem arising here since all
> files are put in the same directory location and no guarantee is provided
> in which order BizTalk handles files. Also, the file can be aggregated
> into batches which will lead to error situations with documents being
> suspended.
>
> Sincerely
>
> Joerg Fischer
> MVP
>
> "Jeff Wessling" <jeff.wessling@qualifacts.com> schrieb im Newsbeitrag
> news:ul15g81TFHA.2812@TK2MSFTNGP09.phx.gbl...
>
>
| |
|
| Hi,
The port within the orchestration has an attribute "Ordered Delivery" which
influences how the port is treated within orchestration. You have to set
this to "true" in order to be able to receive different messages, with
different schemas, in a sequential convoy as you like.
Sincerely
Joerg Fischer
"Jeff Wessling" <jeff.wessling@qualifacts.com> schrieb im Newsbeitrag
news:OWBLKzFUFHA.2928@TK2MSFTNGP09.phx.gbl...
> Thanks Joerg,
>
> I decided that trying to receive everything in the same directory was too
> problematic so I'm now recieving the startMessage in one and all items in
> another. I've added them into the same port in my orchestration, using
> different Operations to accomplish this. However, now I get...
> (822): in a sequential convoy receive the messagetypes must be identical
> unless the port is marked for OrderedDelivery
>
> Does this mean the messages have to be of the same schema?
>
>
> <Joerg Fischer> wrote in message
> news:eC9Rwt8TFHA.3188@TK2MSFTNGP09.phx.gbl...
>
>
|
|
|
|
|