Receliving two messages using biztalk receive location by correlation

Home Page Forums BizTalk 2004 – BizTalk 2010 Receliving two messages using biztalk receive location by correlation

Viewing 2 reply threads
  • Author
    Posts
    • #19368

      hi all,

         i m having a problem . i m using correlation to receive two different type (different schema based) of messages but it says that i have to use sequiential convey in which messages should come in order. but my application is such that any type of message can come first. is this message is the one that i m configuring in orchestration that its fine otherwise the seconf type of message comes before then the orchestration crashs.

      can anybody suggest any solution .

      Thanks in advance.

      Jitendra Kumar

    • #19372

      You could start the orchestration with a Listen Shape.

      In the left branch messages arrive in A then B, in the right branch messages arrived in B then A.

      Viable solution.

      TM

    • #19374

      Hey Jitendra,

      I have an application that receives 3 different types of messages that get consolidated into a single message and yes the order they are received is unknown.

      I used a Parallel Actions shape to accomplish this. Each branch has a Receive Shape listening for one of my 3 message types. The Parallel Actions shape will not continue until each branch has completed. Therefore before constructing the single message all 3 message parts WILL be received.

      I have had this application running for 7 months now without any issues.

      • #19377

        Hi Jitendra,

        I would second Geoff’s approach of using a parallel (concurrent) convoy. If all of this convoy stuff is a bit confusing, there are some great blog posts out there, for example:

        Alternatively, just do a Google search for ‘BizTalk Parallel Convoys’ 

        Regards, Nick.

      • #19385

        i think I was smoking crack when writing my original reply,

        Greg has the correct approach for this problem.

        TM

        • #19388

          [quote user="themistry"]i think I was smoking crack when writing my original reply,[/quote]

          LOL, thanks for making me laugh first thing in the morning 🙂

          I had to open my source code to know for sure that I wasn’t using a Listen Shape 😉 

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.