Orchestration convoys


hi all
can 1 me?


have flat file , have convert edi message.
in 1 flat file message(inbound) have multiple header records.
each header record has id. in 1 inbound flat file message there may many headers records same id or different ids.

here want output same id headers 1 edi file.

currenlty getting 1 edi(outbound) each header record.

example

input:one flat file.txt

header="111", id="222"
amount payable="6000",address="ny"
header="111", id="333"
amount payable="5500",address="dy"
header="111", id="222"
amount payable="6666",address="ky"

required out should follows:(same id="222" should in 1 output file)

output1.edi

header="111", id="222"
amount payable="6000",address="ny"
header="111", id="222"
amount payable="6666",address="ky"

output2.edi

header="111", id="333"
amount payable="5500",address="dy"

.........

please can 1 me example how achieve this.(orchestration_parallel convoy ? example)


thanks

raj

hi raj,

you need following things:

1. create custom receive pipeline flat file disassembler component @ disassemble stage split incoming flat file multiple xml files(for each header)

also promote header , id property field.

2. have property schema header , id element.

3. implement sequential convoy in orchestration:

  create correlation type against header , id element of property schema.

 create correlation set based on correlation type created above.

  first receive shape of orchestration initialize the correlation set

 and second receive shape follow same correlation set.

 in loop use aggregator pattern combine message same header , same id.

here example: how implement sequential convoy pattern in orchestration:

http://geekswithblogs.net/asmith/articles/9778.aspx

http://msdn.microsoft.com/en-us/library/ms942189

regards,

abhijit


please "mark answer" if post has answered question


BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'