BizTalk Server General - Point-to-Point Channel Pattern

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > December 2005 > Point-to-Point Channel Pattern





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 Point-to-Point Channel Pattern
Samuel L

2005-12-01, 7:48 am

Hi!

Does BizTalk provide any kind of solution to the Point-to-Point Channel
pattern defined at http://www.eaipatterns.com/PointToPointChannel.html?

The defintion states that "If multiple receivers try to consume a single
message, the channel ensures that only one of them succeeds, so the receivers
do not have to coordinate with each other".

As far as I can see, BizTalk which builds on publish-subscribe, does not
provide any functionality for this... Or am I wrong?

Thanks for your comments and help!

Alan Smith

2005-12-01, 7:48 am

Hi,

The closest you can get to this in BizTalk is to create a send port that
subscribes to a receive port. This will in effect be a point to point channel.

> The defintion states that "If multiple receivers try to consume a single
> message, the channel ensures that only one of them succeeds, so the receivers
> do not have to coordinate with each other".


As BizTalk is pub-sub, there's nothing to stop another subscriber being
added to the receive port, in that case, a copy of each message received will
be sent to each subscriber.

Regards,

Alan

--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith



"Samuel L" wrote:

> Hi!
>
> Does BizTalk provide any kind of solution to the Point-to-Point Channel
> pattern defined at http://www.eaipatterns.com/PointToPointChannel.html?
>
> The defintion states that "If multiple receivers try to consume a single
> message, the channel ensures that only one of them succeeds, so the receivers
> do not have to coordinate with each other".
>
> As far as I can see, BizTalk which builds on publish-subscribe, does not
> provide any functionality for this... Or am I wrong?
>
> Thanks for your comments and help!
>

Scott Colestock

2005-12-01, 8:53 pm

Hmmm, just looking at the complete definition of this again:

"A Point-to-Point Channel ensures that only one receiver consumes any given
message. If the channel has multiple receivers, only one of them can
successfully consume a particular message. If multiple receivers try to
consume a single message, the channel ensures that only one of them
succeeds, so the receivers do not have to coordinate with each other. The
channel can still have multiple receivers to consume multiple messages
concurrently, but only a single receiver consumes any one message."

The question posed in the pattern is: How can the caller be sure that
exactly one receiver will receive the document or perform the call?

Just backing up a bit -- In some sense, when you have multiple host
instances for a host where your orchestration (or send handler) resides, you
have a "channel" with multiple potential "receivers" (with all of the
benefits that brings in terms of scalability and fault-tolerance)...but
BizTalk guarantees that the message will only be operated on once.

Scott Colestock
www.traceofthought.net



"Alan Smith" <AlanSmith@discussions.microsoft.com> wrote in message
news:A8854FBF-CA5A-4438-AD30-FFE0F45F34D9@microsoft.com...[vbcol=seagreen]
> Hi,
>
> The closest you can get to this in BizTalk is to create a send port that
> subscribes to a receive port. This will in effect be a point to point
> channel.
>
>
> As BizTalk is pub-sub, there's nothing to stop another subscriber being
> added to the receive port, in that case, a copy of each message received
> will
> be sent to each subscriber.
>
> Regards,
>
> Alan
>
> --
> The Bloggers Guide to BizTalk
> http://geekswithblogs.com/asmith
>
>
>
> "Samuel L" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com