Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Receliving two messages using biztalk receive location by correlation
- This topic has 5 replies, 1 voice, and was last updated 8 years, 4 months ago by
community-content.
-
AuthorPosts
-
-
April 17, 2008 at 5:00 AM #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
-
April 17, 2008 at 8:26 AM #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
-
April 17, 2008 at 12:47 PM #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.
-
April 18, 2008 at 12:01 AM #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:
- Stephen W. Thomas’ Concurrent Receive Convoys (Parallel Convoys) in BizTalk 2004 gives a good overview of how parallel convoys can be implemented
- The BizTalk Core Engine’s Weblog has a great deep dive piece on parallel convoys; and
- The Microsoft Convoy Deep Dive documentation, which describes both parallel and sequential convoys in excellent detail.
Alternatively, just do a Google search for ‘BizTalk Parallel Convoys’
Regards, Nick.
-
April 18, 2008 at 2:20 AM #19385
i think I was smoking crack when writing my original reply,
Greg has the correct approach for this problem.
TM
-
April 18, 2008 at 5:42 AM #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 😉
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.