locked
Biztalk Parallel and Sequnetial Convoys RRS feed

  • Question

  • I have a requirement in an orchestration where i will recieve 6 different xmls in 2 different rcv locations(3 from each recive location) and all of them in a single orchestaration instance

    so i think i need to use the concepts of Parallel and Sequential Convoys

    As Shown in the Above Figure I have Placed a Parallel Action Shape and placed 2 Rcv Locations in it to pick 3 xmls from each rcv location and next placed a Listen shape so that i recieve 3 xmls from the same location.

    but I am not sure how to use the Correlation types in this example because the xmls structures are completely different Do ihave to use Bts.RcvPortName property on all the Rcv locations?

    Thursday, February 5, 2015 4:40 AM

Answers

  • For a Parallel Convoy, there must be a key field linking all 6 messages with each other which you would Promote and also use in you Correlation Set.

    What have above is a Parallel Convoy with two Sequential Convoys, one on each side.  This configuration will accept 4 messages of two MessageTypes only.

    The number of Receive Locations is irrelevant.  If you actually will have 6 related messages, then the Parallel Shape will have 6 lanes.  You should also put a Scope around each Receive Shape otherwise, if one message doesn't show up, the Convoy will wait forever.

    • Marked as answer by Angie Xu Wednesday, February 11, 2015 1:53 AM
    Thursday, February 5, 2015 11:29 AM
    Moderator

All replies

  • For a Parallel Convoy, there must be a key field linking all 6 messages with each other which you would Promote and also use in you Correlation Set.

    What have above is a Parallel Convoy with two Sequential Convoys, one on each side.  This configuration will accept 4 messages of two MessageTypes only.

    The number of Receive Locations is irrelevant.  If you actually will have 6 related messages, then the Parallel Shape will have 6 lanes.  You should also put a Scope around each Receive Shape otherwise, if one message doesn't show up, the Convoy will wait forever.

    • Marked as answer by Angie Xu Wednesday, February 11, 2015 1:53 AM
    Thursday, February 5, 2015 11:29 AM
    Moderator
  • I think you can use  Bts.RcvPortName property for correlation. But there should be two correlation sets, one per a sequential convoy.

    Leonid Ganeline [BizTalk MVP]

    Thursday, February 5, 2015 7:48 PM
    Moderator